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