Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 806 Bytes

README.md

File metadata and controls

48 lines (32 loc) · 806 Bytes

eslint-plugin-path-checker-plugin

plugin for pet project

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-path-checker-plugin:

npm install eslint-plugin-path-checker-plugin --save-dev

Usage

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

{
    "plugins": [
        "path-checker-plugin"
    ]
}

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

{
    "rules": {
        "path-checker-plugin/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.