1.2.4 • Published 2 years ago
@geninhocell/eslint-config v1.2.4
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-configSetup react
- Create a
.eslintrc.jsonfile extending the config:
{
"extends": "@geninhocell/eslint-config/react"
}Setup react-native
- Create a
.eslintrc.jsonfile extending the config:
{
"extends": "@geninhocell/eslint-config/native"
}Setup NodeJS
- Create a
.eslintrc.jsonfile extending the config:
{
"extends": "@geninhocell/eslint-config/node"
}You can also use a
.eslintrc.jsinstead of JSON if you prefer.
License
License MIT © Andrea SonnY