0.2.0 • Published 6 years ago
eslint-plugin-m99coder v0.2.0
eslint plugin m99coder  
 
A collection of useful ESLint rules.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-config-m99coder and eslint-plugin-m99coder:
$ npm install eslint-config-m99coder eslint-plugin-m99coder --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install the packages globally.
Usage
Add m99coder to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
    "plugins": [
        "m99coder"
    ]
}Then configure the rules you want to use under the rules section.
{
    "rules": {
        "m99coder/rule-name": 2
    }
}Supported Rules
- vars-on-top