eslint-plugin-feature-sliced-design-path-checker
v1.1.9
Published
ESLint plugin for imports in FSD architecture
Downloads
12
Maintainers
Readme
eslint-plugin-feature-sliced-design-path-checker
ESLint plugin for imports in FSD architecture
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-feature-sliced-design-path-checker
:
npm install eslint-plugin-feature-sliced-design-path-checker --save-dev
Usage
Add fsd-path-checker
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"fsd-path-checker"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-path-checker/rule-name": "error"
}
}