0.0.5 • Published 6 months ago
eslint-plugin-path-revise v0.0.5
eslint-plugin-path-revise
Plugin for prodoction project by ulbiTv
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-path-revise
:
npm install eslint-plugin-path-revise --save-dev
Usage
In your configuration file, import the plugin eslint-plugin-path-revise
and add path-revise
to the plugins
key:
import path-revise from "eslint-plugin-path-revise";
export default [
{
plugins: {
path-revise
}
}
];
Then configure the rules you want to use under the rules
key.
import path-revise from "eslint-plugin-path-revise";
export default [
{
plugins: {
path-revise
},
rules: {
"path-revise/rule-name": "warn"
}
}
];
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.