eslint-plugin-awesome-fsd-imports
v0.1.4
Published
Plugin to check according to Feature Sliced Design architecture
Downloads
2
Maintainers
Readme
eslint-plugin-awesome-fsd-imports
Plugin to check according to Feature Sliced Design architecture
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-awesome-fsd-imports
:
npm install eslint-plugin-awesome-fsd-imports --save-dev
Usage
Add fsd-imports
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": ["awesome-fsd-imports"]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"awesome-fsd-imports/relative-imports": 2
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.