eslint-plugin-feature-sliced-plugin
feature slise plugin
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-feature-sliced-plugin
:
npm install eslint-plugin-feature-sliced-plugin --save-dev
Usage
Add feature-sliced-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"feature-sliced-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"feature-sliced-plugin/rule-name": 2
}
}
Rules
Run 'yo eslint:rule' to create eslint rule
TODO: Run eslint-doc-generator to generate the rules list.