0.0.12 • Published 2 years ago
eslint-plugin-monroo-plugin v0.0.12
eslint-plugin-monroo-plugin
plugin for fsd project
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-monroo-plugin:
npm install eslint-plugin-monroo-plugin --save-devUsage
Add monroo-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"monroo-plugin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"monroo-plugin/rule-name": 2
}
}Rules
| Name | Description |
|---|---|
| path-checker | feature sliced design relative path checker |
| public-api-imports | feature sliced design public api imports checker |