eslint-plugin-fsd-paths
v1.0.8
Published
Plugin for checking paths proceeding to FSD
Downloads
12
Maintainers
Readme
eslint-plugin-fsd-paths
Plugin for checking paths proceeding to FSD
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd-paths:
npm install eslint-plugin-fsd-paths --save-devUsage
Add fsd-paths to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["fsd-paths"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-paths/relative-paths": "error"
}
}Rules
🔧 Automatically fixable by the --fix CLI option.
| Name | Description | 🔧 | | :--------------------------------------------- | :---------------------------------- | :-- | | relative-paths | Feature sliced related path checker | 🔧 |
