0.0.4 • Published 12 months ago
eslint-plugin-pit v0.0.4
eslint-plugin-pit
Extend eslint plugin for Vue-Pit
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-pit
:
npm install eslint-plugin-pit --save-dev
Usage
Add pit
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"pit"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"pit/rule-name": 2
}
}
Rules
⚠️ Configurations set to warn in.\
🚫 Configurations disabled in.\
🔧 Automatically fixable by the --fix
CLI option.
Name | Description | ⚠️ | 🚫 | 🔧 |
---|---|---|---|---|
columns-order | Sort of property field to avoid general error. | 🔧 | ||
columns-show-overflow | column item must has a showOverflow prop | |||
form-base-request-interface | standard interface of form-base request is save delete info update page. | 🔧 |