0.0.11 • Published 10 months ago
eslint-plugin-mb v0.0.11
eslint-plugin-mb
custom plugin for Feature-Sliced Design architectural methodology for frontend projects
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-mb
:
npm install eslint-plugin-mb --save-dev
Usage
Add mb
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"mb"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"mb/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.