eslint-plugin-path-checking
v0.0.6
Published
plugin for checking relative paths
Downloads
8
Maintainers
Readme
eslint-plugin-path-checking
plugin for checking relative paths
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-path-checking
:
npm install eslint-plugin-path-checking --save-dev
Usage
Add path-checking
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"path-checking"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"path-checking/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here