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