eslint-plugin-fsd-check-paths
v0.0.10
Published
Check import paths for FSD structure
Downloads
5
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-dev
Next, install eslint-plugin-fsd-check-paths
:
npm install eslint-plugin-fsd-check-paths --save-dev
Usage
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"
}
}