Skip to content

jimjenkins5/eslint-plugin-silvermine

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SilverMine eslint plugin

Build Status Coverage Status Dependency Status Dev Dependency Status

What?

Shareable eslint plugins that are used by our shareable config rules. See eslint-config-silvermine for more details.

Why?

Because we need it. Whitespace errors are evil. As are the other hundreds of types of errors this protects us from.

Installation

You'll first need to install ESLint:

$ npm install eslint --save-dev

Next, install eslint-plugin-silvermine:

$ npm install eslint-plugin-silvermine --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-silvermine globally.

Usage

Add silvermine to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "silvermine"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "silvermine/fluent-chaining": 2
    }
}

Supported Rules

License

This software is released under the MIT license. See the license file for more details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%