eslint-plugin-fsd-layer-import
v0.0.8
Published
import rule for fsd architecture
Downloads
35
Maintainers
Readme
eslint-plugin-fsd-layer-import
import rule for fsd architecture
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd-layer-import:
npm install eslint-plugin-fsd-layer-import --save-devUsage
In your configuration file, import the plugin eslint-plugin-fsd-layer-import and add fsd-layer-import to the plugins key:
import fsd-layer-import from "eslint-plugin-fsd-layer-import";
export default [
{
plugins: {
fsd-layer-import
}
}
];Then configure the rules you want to use under the rules key.
import fsd-layer-import from "eslint-plugin-fsd-layer-import";
export default [
{
plugins: {
fsd-layer-import
},
rules: {
"fsd-layer-import/rule-name": "warn"
}
}
];Configurations
TODO: Run eslint-doc-generator to generate the configs list (or delete this section if no configs are offered).
Rules
TODO: Run eslint-doc-generator to generate the rules list.
