0.0.8 • Published 2 years ago
eslint-plugin-fsd-imports v0.0.8
eslint-plugin-fsd-imports
fsd imports
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd-imports:
npm install eslint-plugin-fsd-imports --save-devUsage
Add fsd-imports to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"fsd-imports"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-imports/rule-name": 2
}
}Rules
TODO: Run eslint-doc-generator to generate the rules list.