Turned off eslint rules for popular plugin for smooth integration.
npm i --save-dev eslint-config-initial
- make
.eslintrc
in your root project dir - add needed for you eslint parameters
- add your rules
- base
- react
- react-hooks
- redux-saga
- promise
- unicorn
- import
- import-helpers
- jest
- jsdoc
- node
- security
- sort-class-members
- flowtype
.eslintrc
{
"parser": "babel-eslint",
"extends": ["eslint-config-initial/rules/base", "./my-eslint-rules"]
}
{
"parser": "babel-eslint",
"extends": ["eslint-config-initial/rules/base"],
"rules": {
"arrow-parens": "error"
}
}