0.1.0 • Published 12 months 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-dev
Next, install eslint-plugin-fsd
:
npm install eslint-plugin-fsd --save-dev
Usage
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
12 months ago