0.2.1 • Published 6 years ago

eslint-plugin-iruhl v0.2.1

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

eslint-plugin-iruhl

Custom eslint rules for intrenal projects

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-iruhl:

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

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

Usage

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

{
    "plugins": [
        "iruhl"
    ]
}

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

{
    "rules": {
        "iruhl/rule-name": 2
    }
}

Supported Rules