Socket
Socket
Sign inDemoInstall

eslint-config-mikewilcox

Package Overview
Dependencies
180
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    eslint-config-mikewilcox

my eslint config


Version published
Maintainers
1
Install size
4.53 MB
Created

Readme

Source

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

Keywords

FAQs

Last updated on 22 Mar 2016

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc