0.0.2 • Published 2 years ago
eslint-plugin-feature-sliced v0.0.2
eslint-plugin-feature-sliced
s
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-feature-sliced:
npm install eslint-plugin-feature-sliced --save-devUsage
Add feature-sliced to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["feature-sliced"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"feature-sliced/path-checker": [
"error",
{
"alias": "@"
}
]
}
}Rules
path-checker