eslint-plugin-no-specific-comment
v0.0.0
Published
Disallow the use of a specific comment (configurable)
Downloads
2
Maintainers
Readme
eslint-plugin-no-specific-comment
Disallow the use of a specific comment (configurable)
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-no-specific-comment
:
npm install eslint-plugin-no-specific-comment --save-dev
Usage
Add no-specific-comment
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"no-specific-comment"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-specific-comment/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.