eslint-plugin-absolute-path-plugin
v0.0.2
Published
plugin for absoule path in production
Downloads
3
Maintainers
Readme
eslint-plugin-absolute-path-plugin
plugin for absoule path in production
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-absolute-path-plugin
:
npm install eslint-plugin-absolute-path-plugin --save-dev
Usage
Add absolute-path-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"absolute-path-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"absolute-path-plugin/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.