0.1.0 • Published 3 years ago
eslint-plugin-sngthrdlint v0.1.0
eslint-plugin-sngthrdlint
lint for react hook
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-sngthrdlint:
npm install eslint-plugin-sngthrdlint --save-devUsage
Add sngthrdlint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"sngthrdlint"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"sngthrdlint/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.
0.1.0
3 years ago