0.0.0 • Published 7 months ago

eslint-plugin-bright-plugin v0.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
7 months ago

eslint-plugin-bright-plugin

eslint custom rules

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-bright-plugin:

npm install eslint-plugin-bright-plugin --save-dev

Usage

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

{
    "plugins": [
        "bright-plugin"
    ]
}

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

{
    "rules": {
        "bright-plugin/rule-name": 2
    }
}

Rules

NameDescription
path-checkerFSD relative path checker