eslint-config-standard-strict
v1.1.0
Published
ESLint config for ES7, following StandardJS with added checks
Downloads
3
Maintainers
Readme
eslint-config-standard-strict
ESLint config for ES7, following StandardJS with added checks
Usage
Add all of the
"devDependencies"
listed in package.json to your project's"devDependencies"
section.Add an additional entry to
"devDependencies"
:"eslint-config-standard-strict": "latest"
Add a root level
.eslintrc
that references this package{ "extends": "standard-strict" }
Add another
.eslintrc
to yourtest
folder that supports mocha{ "extends": "standard-strict", "env": { "mocha": true } }
(Recommended) Add the following entries to your
package.json
for simplified CLI access to linting:"scripts": { "lint": "./node_modules/.bin/eslint .", "lint-changed": "git diff --name-only --cached --relative | grep '\\.js$' | xargs ./node_modules/.bin/eslint" }
(Recommended) Setup your editor to support inline ESLint support. For Sublime Text, that means
npm install -g eslint
then installingSublimeLinter
andSublimeLinter-contrib-eslint
packages. For Vim, use Syntastic.