eslint-plugin-custom-vue

0.0.4 • Public • Published

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.

Package Sidebar

Install

npm i eslint-plugin-custom-vue

Weekly Downloads

1

Version

0.0.4

License

ISC

Unpacked Size

323 kB

Total Files

34

Last publish

Collaborators

  • iamsb