eslint-config-mikewilcox

v1.3.0
my eslint config
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

npm i eslint-config-mikewilcox

Metadata

  • MIT
  • Whatever
  • Mike Wilcox
  • released 3/22/2016

Downloads

Maintainers