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