eslint-plugin-rel-path-check
v0.0.17
Published
plugin for production project
Downloads
16
Maintainers
Readme
eslint-plugin-rel-path-check
plugin for production project
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-rel-path-check
:
npm install eslint-plugin-rel-path-check --save-dev
Usage
Add rel-path-check
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"rel-path-check"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"rel-path-check/path-checker": "error"
}
}
Rules
| Name | Description | | :----------------------------------------- | :----------------------------------- | | path-checker | feature sliced relative path checker |