1.0.13 • Published 2 years ago
eslint-plugin-fsd-helper-stable v1.0.13
eslint-plugin-fsd-helper-stable
Helper for fronend application using fsd architecture
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-fsd-helper-stable:
npm install eslint-plugin-fsd-helper-stable --save-devUsage
Add fsd-helper-stable to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"fsd-helper-stable"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"fsd-helper-stable/rule-name": 2
}
}Rules
| Name | Description |
|---|---|
| path-checker | Check path rule |
| public-api-import | fsd helper public-api-import |