eslint-plugin-custom-vue
v0.0.4
Published
some custom rules of vue
Downloads
2
Maintainers
Readme
eslint-plugin-custom-vue
some custom rules of vue
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-custom-vue
:
npm install eslint-plugin-custom-vue --save-dev
Usage
Add custom-vue
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"custom-vue"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"custom-vue/cus-prefix-component-names": [
2,
{
"ignores": [],
"prefix": "tms"
}
]
}
}
Rules
TODO: Run eslint-doc-generator to generate the rules list.