This is eslint
config (standard
+ unicorn
+ sonarjs
+ import
+ markdown
+ prettier
etc.)
npm i --save-dev github:cakkypamucm/eslint-config
- add
eslint-config-cakkypamucm
to the "extends" array in youreslint
config file
{ "extends": ["some-other-config-you-use", "eslint-config-cakkypamucm"] }
- add resolvers to correct working
import/no-unresolved
rule.
For webpack-based projects e.g.:
npm i --save-dev eslint-import-resolver-webpack
{
"settings": {
"import/resolver": ["node", "webpack"]
}
}