eslint sharable config for sagastandard
Add as dependencies:
$ npm install --save-dev \
eslint \
eslint-config-sagastandard \
eslint-config-semistandard \
eslint-config-standard \
eslint-config-standard-jsx \
eslint-plugin-import \
eslint-plugin-node \
eslint-plugin-promise \
eslint-plugin-react \
eslint-plugin-standard
Add the following to your eslintrc.json
or to your package.json
"eslintConfig"
key:
{
"extends": [ "sagastandard" ]
}
$ npm install -g \
eslint \
eslint-config-sagastandard \
eslint-config-semistandard \
eslint-config-standard \
eslint-config-standard-jsx \
eslint-plugin-import \
eslint-plugin-node \
eslint-plugin-promise \
eslint-plugin-react \
eslint-plugin-standard
Read up on how to use sharable configs at the eslint website.
Use linter-eslint