@intelie/eslint-config
v4.3.2
Published
Intelie's eslint config
Downloads
32
Readme
Intelie ESLint config
Install the package
yarn add -D @intelie/eslint-configInstall the peer dependencies
npx [email protected] --dev -o --yarn @intelie/eslint-configOn your package.json:
"prettier": "@intelie/prettier-config",
"eslintConfig": {
"extends": "@intelie"
},If you need to make custom changes, extend this configuration:
"extends": "@intelie/eslint-config",
"rules": {
..."your other rules"
}
IDE & Code Editor notes:
IntelliJ
Under Languages & Frameworks > Javascript > Code Quality Tools > ESLint:
- [x] Automatic ESLint configuration
- [x] Run eslint --fix on save
VSCode
Working directories
Under Eslint: Working directories:
If your Javascript project is not on the root of the open project you must define the "eslint.workingDirectories": ["my-root-folder"] setting of the VSCode ESLint plugin to make it work.
