plugin for production project
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-path-checher-ulbi-example
:
npm install eslint-plugin-path-checher-ulbi-example --save-dev
Add path-checher-ulbi-example
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"path-checher-ulbi-example"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"path-checher-ulbi-example/rule-name": 2
}
}
🔧 Automatically fixable by the --fix
CLI option.
Name | Description | 🔧 |
---|---|---|
layer-imports | description | |
path-checker | feature sliced relative path checker | 🔧 |
public-api-imports | description | 🔧 |