0.0.3 • Published 2 years ago
eslint-plugin-ulbitv-frontend v0.0.3
eslint-plugin-ulbitv-frontend
Plugin for pet-project
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-ulbitv-frontend
:
npm install eslint-plugin-ulbitv-frontend --save-dev
Usage
Add ulbitv-frontend-eslint-plugin
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"ulbitv-frontend-eslint-plugin"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"ulbitv-frontend-eslint-plugin/rule-name": 2
}
}
Rules
Name | Description |
---|---|
path-validator | Validate FSD path |