0.0.10 • Published 1 year ago
eslint-plugin-noiselim-plugin v0.0.10
eslint-plugin-noiselim-plugin
eslint plugin for fsd
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-noiselim-plugin
:
npm install eslint-plugin-noiselim-plugin --save-dev
Usage
Add noiselim-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["noiselim-plugin"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"noiselim-plugin/rule-name": 2
}
}
Rules
"noiselim-plugin/path-checker" - checked path for Feature-Sliced Design
TODO: Run eslint-doc-generator to generate the rules list.