0.0.2 • Published 5 years ago

eslint-plugin-joah-rule v0.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

eslint-plugin-joah-rule

my own rule

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-joah-rule:

$ npm install eslint-plugin-joah-rule --save-dev

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

Usage

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

{
    "plugins": [
        "joah-rule"
    ]
}

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

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

Supported Rules

  • Fill in provided rules here