0.0.0 • Published 10 months ago

eslint-plugin-ptc v0.0.0

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

eslint-plugin-ptc

check prop type comments

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-ptc:

npm install eslint-plugin-ptc --save-dev

Usage

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

{
    "plugins": [
        "ptc"
    ]
}

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

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

Rules

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