0.0.7 • Published 6 months ago
eslint-plugin-mukade-fsd-plugin v0.0.7
eslint-plugin-mukade-fsd-plugin
this plugin is used to lint arch problems in FSD
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-mukade-fsd-plugin
:
npm install eslint-plugin-mukade-fsd-plugin --save-dev
Usage
Add mukade-fsd-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"mukade-fsd-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"mukade-fsd-plugin/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.