@geninhocell/eslint-config
v1.2.4
Published
ESLint configuration used by geninhocell.
Downloads
14
Maintainers
Readme
geninhocell ESLint config
Whats included?
- Standard config base;
- React plugin;
- React Native plugin;
- React Hooks plugin;
- JSX a11y plugin;
- @typescript-eslint plugin;
- Prettier;
Install the dependencies
$ npm i -D eslint @geninhocell/eslint-config
Setup react
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@geninhocell/eslint-config/react"
}
Setup react-native
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@geninhocell/eslint-config/native"
}
Setup NodeJS
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@geninhocell/eslint-config/node"
}
You can also use a
.eslintrc.js
instead of JSON if you prefer.
License
License MIT © Andrea SonnY