0.1.0 • Published 3 years ago
@r0mm4k/eslint-plugin-fsd v0.1.0
eslint-plugin-fsd
FSD (Feature Sliced Design) specific linting rules for ESLint
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd:
npm install eslint-plugin-fsd --save-devUsage
Add fsd to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"fsd"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd/rule-name": 2
}
}Rules
| Name |
|---|
0.1.0
3 years ago