1.0.0 • Published 2 years ago

@eightyfourjs/eslint-plugin-rules-for-rules v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

eslint-plugin-rules-for-rules

Lint rules for writing lint rules

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-rules-for-rules:

npm install eslint-plugin-rules-for-rules --save-dev

Usage

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

{
    "plugins": [
        "rules-for-rules"
    ]
}

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

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

Supported Rules

  • Fill in provided rules here