eslint-plugin-paths-by-fsd
v0.0.1
Published
plugin for help to use correct paths by fsd
Downloads
7
Maintainers
Readme
eslint-plugin-paths-by-fsd
plugin for help to use correct paths by fsd
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-paths-by-fsd
:
npm install eslint-plugin-paths-by-fsd --save-dev
Usage
Add paths-by-fsd
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"paths-by-fsd"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"paths-by-fsd/rule-name": 2
}
}
Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.