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