eslint-config-mikewilcox
v1.2.0 eslint eslintplugin javascript
eslint-config-mikewilcox
Linters are great for projects. Use this as an example for how to setup a custom set of rules.
By default, this plugin extends the airbnb base rules;
You can then overwrite any rules as you wish. The full list of ESLint rules can be found here
Install
$ npm i -g eslint -D
$ npm i eslint-config-mikewilcox -D
Now add an eslint config file to your project...
$ touch .eslintrc
.eslintrc
{
"extends": "mikewilcox"
}
You can then lint files using this extension by running eslint on the files you wish to:
$ eslint foo.js
...or to make it part of your project's build step, you can add a lint task to your npm scripts:
"scripts": {
"lint": "eslint src"
}
LICENSE
MIT