eslint-plugin-ug-fsd-plugin
v1.0.9
Published
plug-in for correct paths, in fsd architecture
Downloads
23
Maintainers
Readme
eslint-plugin-ug-fsd-plugin
plug-in for correct paths, in fsd architecture
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-ug-fsd-plugin
:
npm install eslint-plugin-ug-fsd-plugin --save-dev
Usage
Add ug-fsd-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"ug-fsd-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"ug-fsd-plugin/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.