eslint-plugin-feature-sliced-design-path-checker
v1.1.9
Published
ESLint plugin for imports in FSD architecture
Downloads
60
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-devNext, install eslint-plugin-feature-sliced-design-path-checker:
npm install eslint-plugin-feature-sliced-design-path-checker --save-devUsage
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"
}
}