0.0.8 • Published 1 year ago
eslint-plugin-fsd-refactor v0.0.8
eslint-plugin-fsd-refactor
plugin for fsd architecture refactor
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd-refactor:
npm install eslint-plugin-fsd-refactor --save-devUsage
Add fsd-refactor to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"fsd-refactor"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-refactor/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.