eslint-plugin-pathchecker-plugin-fsd-methodology
v0.0.5
Published
plugin for checking absolute and relative paths in imports according to fsd methodology
Downloads
2
Maintainers
Readme
eslint-plugin-pathchecker-plugin-fsd-methodology
plugin for checking absolute and relative paths in imports according to fsd methodology
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-pathchecker-plugin-fsd-methodology
:
npm install eslint-plugin-pathchecker-plugin-fsd-methodology --save-dev
Usage
Add pathchecker-plugin-fsd-methodology
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"pathchecker-plugin-fsd-methodology"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"pathchecker-plugin-fsd-methodology/rule-name": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.