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