0.0.4 • Published 3 years ago
eslint-plugin-fsh-imports-modules-control v0.0.4
eslint-plugin-fsh-imports-modules-checker
relative fsh imports inside module
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsh-imports-modules-control:
npm install eslint-plugin-fsh-imports-modules-checker --save-devUsage
Add fsh-imports-modules-checker to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"fsh-imports-modules-control"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsh-imports-modules-control/imports-fsh-paths-checker": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.