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