0.0.0 • Published 2 years ago
eslint-plugin-ptc v0.0.0
eslint-plugin-ptc
check prop type comments
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-ptc:
npm install eslint-plugin-ptc --save-devUsage
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.
0.0.0
2 years ago