eslint-plugin-fsd-check-paths
v0.0.10
Published
Check import paths for FSD structure
Downloads
24
Maintainers
Readme
eslint-plugin-fsd-check-paths
Check import paths for FSD structure
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd-check-paths:
npm install eslint-plugin-fsd-check-paths --save-devUsage
Add fsd-check-paths to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"fsd-check-paths"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-check-paths/path-checker": "error"
}
}