- Standard config base;
- React plugin;
- React Native plugin;
- React Hooks plugin;
- JSX a11y plugin;
- @typescript-eslint plugin;
- Prettier;
$ npm i -D eslint @geninhocell/eslint-config
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@geninhocell/eslint-config/react"
}
- Create a
.eslintrc.json
file extending the config:
{
"extends": "@geninhocell/eslint-config/native"
}
- 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 MIT © Andrea SonnY