0.0.4 • Published 2 years ago

eslint-plugin-custom-vue v0.0.4

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

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.

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago

0.0.0

2 years ago