0.0.0 • Published 2 years ago
eslint-plugin-bright-plugin v0.0.0
eslint-plugin-bright-plugin
eslint custom rules
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install eslint-plugin-bright-plugin:
npm install eslint-plugin-bright-plugin --save-devUsage
Add bright-plugin to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"bright-plugin"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"bright-plugin/rule-name": 2
}
}Rules
| Name | Description |
|---|---|
| path-checker | FSD relative path checker |
0.0.0
2 years ago