eslint-plugin-fsd-tools-mishakin
v0.2.2
Published
eslint plugin for vmishakin/blog-with-fsd
Downloads
2
Maintainers
Readme
eslint-plugin-fsd-tools-mishakin
eslint plugin for vmishakin/blog-with-fsd
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-fsd-tools-mishakin
:
npm install eslint-plugin-fsd-tools-mishakin --save-dev
Usage
Add fsd-tools-mishakin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"fsd-tools-mishakin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-tools-mishakin/rule-name": 2
}
}
Rules
| Name | Description | | :----------------------------------------------------- | :----------------------------------- | | layer-imports | fsd layer restriction | | path-checker | feature sliced relative path checker | | public-api-imports | FSD slice public api checker |