eslint-plugin-paths-checking-plugin-ys
v0.0.9
Published
checking imports paths
Downloads
4
Maintainers
Readme
eslint-plugin-paths-checking-plugin-ys
checking imports paths
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-paths-checking-plugin-ys
:
npm install eslint-plugin-paths-checking-plugin-ys --save-dev
Usage
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.