Socket
Socket
Sign inDemoInstall

eslint-plugin-vue

Package Overview
Dependencies
Maintainers
3
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-vue - npm Package Compare versions

Comparing version 3.13.0 to 3.13.1

lib/rules/.eslintrc.json

2

lib/rules/attribute-hyphenation.js

@@ -61,3 +61,3 @@ /**

docs: {
description: 'Define a style for the props casing in templates.',
description: 'enforce attribute naming style in template',
category: 'Stylistic Issues',

@@ -64,0 +64,0 @@ recommended: false

@@ -61,3 +61,3 @@ /**

docs: {
description: 'enforce end tag style.',
description: 'enforce end tag style',
category: 'Best Practices',

@@ -64,0 +64,0 @@ recommended: false

@@ -55,6 +55,6 @@ /**

docs: {
description: 'disallow self-closing elements.',
description: 'disallow self-closing elements',
category: 'Best Practices',
recommended: false,
replacedBy: ['html-self-closing-style']
replacedBy: ['html-self-closing']
},

@@ -61,0 +61,0 @@ deprecated: true,

@@ -54,3 +54,3 @@ /**

docs: {
description: 'enforce quotes style of HTML attributes.',
description: 'enforce quotes style of HTML attributes',
category: 'Stylistic Issues',

@@ -57,0 +57,0 @@ recommended: false

@@ -145,3 +145,3 @@ /**

docs: {
description: 'enforce self-closing style.',
description: 'enforce self-closing style',
category: 'Stylistic Issues',

@@ -148,0 +148,0 @@ recommended: false

@@ -40,3 +40,3 @@ // the following rule is based on yannickcr/eslint-plugin-react

docs: {
description: 'Prevent variables used in JSX to be marked as unused',
description: 'prevent variables used in JSX to be marked as unused', // eslint-disable-line consistent-docs-description
category: 'Variables',

@@ -43,0 +43,0 @@ recommended: true

@@ -15,3 +15,3 @@ /**

docs: {
description: 'Define the number of attributes allows per line',
description: 'enforce the maximum number of attributes per line',
category: 'Stylistic Issues',

@@ -18,0 +18,0 @@ recommended: false

@@ -20,3 +20,3 @@ /**

docs: {
description: 'enforce unified spacing in mustache interpolations.',
description: 'enforce unified spacing in mustache interpolations',
category: 'Stylistic Issues',

@@ -23,0 +23,0 @@ recommended: false

@@ -50,3 +50,3 @@ /**

docs: {
description: 'Requires specific casing for the name property in Vue components',
description: 'enforce specific casing for the name property in Vue components',
category: 'Stylistic Issues',

@@ -53,0 +53,0 @@ recommended: false

@@ -150,3 +150,3 @@ /**

docs: {
description: 'Check if there are no asynchronous actions inside computed properties.',
description: 'disallow asynchronous actions in computed properties',
category: 'Best Practices',

@@ -153,0 +153,0 @@ recommended: false

@@ -63,3 +63,3 @@ /**

docs: {
description: 'disallow confusing `v-for` and `v-if` on the same element.',
description: 'disallow confusing `v-for` and `v-if` on the same element',
category: 'Best Practices',

@@ -66,0 +66,0 @@ recommended: true

@@ -49,3 +49,3 @@ /**

docs: {
description: 'Prevents duplication of field names.',
description: 'disallow duplication of field names',
category: 'Possible Errors',

@@ -52,0 +52,0 @@ recommended: false

@@ -91,3 +91,3 @@ /**

docs: {
description: 'disallow duplicate attributes.',
description: 'disallow duplication of attributes',
category: 'Best Practices',

@@ -94,0 +94,0 @@ recommended: false

@@ -115,3 +115,3 @@ /**

docs: {
description: 'disallow invalid template root.',
description: 'disallow invalid template root',
category: 'Possible Errors',

@@ -118,0 +118,0 @@ recommended: false,

@@ -59,3 +59,3 @@ /**

docs: {
description: 'disallow invalid `v-bind` directives.',
description: 'disallow invalid `v-bind` directives',
category: 'Possible Errors',

@@ -62,0 +62,0 @@ recommended: false,

@@ -60,3 +60,3 @@ /**

docs: {
description: 'disallow invalid `v-cloak` directives.',
description: 'disallow invalid `v-cloak` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: false,

@@ -83,3 +83,3 @@ /**

docs: {
description: 'disallow invalid `v-else-if` directives.',
description: 'disallow invalid `v-else-if` directives',
category: 'Possible Errors',

@@ -86,0 +86,0 @@ recommended: false,

@@ -83,3 +83,3 @@ /**

docs: {
description: 'disallow invalid `v-else` directives.',
description: 'disallow invalid `v-else` directives',
category: 'Possible Errors',

@@ -86,0 +86,0 @@ recommended: false,

@@ -164,3 +164,3 @@ /**

docs: {
description: 'disallow invalid `v-for` directives.',
description: 'disallow invalid `v-for` directives',
category: 'Possible Errors',

@@ -167,0 +167,0 @@ recommended: false,

@@ -60,3 +60,3 @@ /**

docs: {
description: 'disallow invalid `v-html` directives.',
description: 'disallow invalid `v-html` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: false,

@@ -76,3 +76,3 @@ /**

docs: {
description: 'disallow invalid `v-if` directives.',
description: 'disallow invalid `v-if` directives',
category: 'Possible Errors',

@@ -79,0 +79,0 @@ recommended: false,

@@ -177,3 +177,3 @@ /**

docs: {
description: 'disallow invalid `v-model` directives.',
description: 'disallow invalid `v-model` directives',
category: 'Possible Errors',

@@ -180,0 +180,0 @@ recommended: false,

@@ -65,3 +65,3 @@ /**

docs: {
description: 'disallow invalid `v-on` directives.',
description: 'disallow invalid `v-on` directives',
category: 'Possible Errors',

@@ -68,0 +68,0 @@ recommended: false,

@@ -60,3 +60,3 @@ /**

docs: {
description: 'disallow invalid `v-once` directives.',
description: 'disallow invalid `v-once` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: false,

@@ -60,3 +60,3 @@ /**

docs: {
description: 'disallow invalid `v-pre` directives.',
description: 'disallow invalid `v-pre` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: false,

@@ -60,3 +60,3 @@ /**

docs: {
description: 'disallow invalid `v-show` directives.',
description: 'disallow invalid `v-show` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: false,

@@ -60,3 +60,3 @@ /**

docs: {
description: 'disallow invalid `v-text` directives.',
description: 'disallow invalid `v-text` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: false,

@@ -14,3 +14,3 @@ /**

docs: {
description: 'This rule warns about the usage of extra whitespaces between attributes',
description: 'disallow multiple spaces',
category: 'Stylistic Issues',

@@ -17,0 +17,0 @@ recommended: false

@@ -97,3 +97,3 @@ /**

docs: {
description: 'disallow parsing errors in `<template>`.',
description: 'disallow parsing errors in `<template>`',
category: 'Possible Errors',

@@ -100,0 +100,0 @@ recommended: true

@@ -52,3 +52,3 @@ /**

docs: {
description: 'Prevent overwrite reserved keys.',
description: 'disallow overwriting reserved keys',
category: 'Possible Errors',

@@ -55,0 +55,0 @@ recommended: false

@@ -52,3 +52,3 @@ /**

docs: {
description: 'Prevent overwrite reserved keys.',
description: 'disallow overwriting reserved keys',
category: 'Possible Errors',

@@ -55,0 +55,0 @@ recommended: false,

@@ -40,3 +40,3 @@ /**

docs: {
description: "Enforces component's data property to be a function.",
description: "enforce component's data property to be a function",
category: 'Possible Errors',

@@ -43,0 +43,0 @@ recommended: false

@@ -65,3 +65,3 @@ /**

docs: {
description: 'Don\'t introduce side effects in computed properties',
description: 'disallow side effects in computed properties',
category: 'Best Practices',

@@ -68,0 +68,0 @@ recommended: false

@@ -46,3 +46,3 @@ /**

docs: {
description: 'disallow `key` attribute on `<template>`.',
description: 'disallow `key` attribute on `<template>`',
category: 'Possible Errors',

@@ -49,0 +49,0 @@ recommended: false

@@ -48,3 +48,3 @@ /**

docs: {
description: 'disallow mustaches in `<textarea>`.',
description: 'disallow mustaches in `<textarea>`',
category: 'Best Practices',

@@ -51,0 +51,0 @@ recommended: true

@@ -98,3 +98,3 @@ /**

docs: {
description: 'Keep order of properties in components',
description: 'enforce order of properties in components',
category: 'Best Practices',

@@ -101,0 +101,0 @@ recommended: false

@@ -46,3 +46,3 @@ /**

docs: {
description: 'require `v-bind:is` of `<component>` elements.',
description: 'require `v-bind:is` of `<component>` elements',
category: 'Best Practices',

@@ -49,0 +49,0 @@ recommended: true

@@ -16,3 +16,3 @@ /**

docs: {
description: 'Require default value for props',
description: 'require default value for props',
category: 'Best Practices',

@@ -19,0 +19,0 @@ recommended: false

@@ -83,3 +83,3 @@ /**

docs: {
description: 'Prop definitions should be detailed',
description: 'require type definitions in props',
category: 'Best Practices',

@@ -86,0 +86,0 @@ recommended: false

@@ -46,3 +46,3 @@ /**

docs: {
description: 'Enforces render function to always return value.',
description: 'enforce render function to always return value',
category: 'Possible Errors',

@@ -49,0 +49,0 @@ recommended: false

@@ -61,3 +61,3 @@ /**

docs: {
description: 'require `v-bind:key` with `v-for` directives.',
description: 'require `v-bind:key` with `v-for` directives',
category: 'Best Practices',

@@ -64,0 +64,0 @@ recommended: true

@@ -25,3 +25,3 @@ /**

docs: {
description: 'Enforces props default values to be valid.',
description: 'enforce props default values to be valid',
category: 'Possible Errors',

@@ -28,0 +28,0 @@ recommended: false

@@ -50,3 +50,3 @@ /**

docs: {
description: 'Enforces that a return statement is present in computed property.',
description: 'enforce that a return statement is present in computed property',
category: 'Possible Errors',

@@ -53,0 +53,0 @@ recommended: false

@@ -21,3 +21,3 @@ /**

docs: {
description: 'enforce usage of `this` in template.',
description: 'enforce usage of `this` in template',
category: 'Best Practices',

@@ -24,0 +24,0 @@ recommended: false

@@ -55,3 +55,3 @@ /**

docs: {
description: 'enforce `v-bind` directive style.',
description: 'enforce `v-bind` directive style',
category: 'Stylistic Issues',

@@ -58,0 +58,0 @@ recommended: false

@@ -56,3 +56,3 @@ /**

docs: {
description: 'enforce `v-on` directive style.',
description: 'enforce `v-on` directive style',
category: 'Stylistic Issues',

@@ -59,0 +59,0 @@ recommended: false

@@ -115,3 +115,3 @@ /**

docs: {
description: 'enforce valid template root.',
description: 'enforce valid template root',
category: 'Possible Errors',

@@ -118,0 +118,0 @@ recommended: true

@@ -59,3 +59,3 @@ /**

docs: {
description: 'enforce valid `v-bind` directives.',
description: 'enforce valid `v-bind` directives',
category: 'Possible Errors',

@@ -62,0 +62,0 @@ recommended: true

@@ -60,3 +60,3 @@ /**

docs: {
description: 'enforce valid `v-cloak` directives.',
description: 'enforce valid `v-cloak` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: true

@@ -83,3 +83,3 @@ /**

docs: {
description: 'enforce valid `v-else-if` directives.',
description: 'enforce valid `v-else-if` directives',
category: 'Possible Errors',

@@ -86,0 +86,0 @@ recommended: true

@@ -83,3 +83,3 @@ /**

docs: {
description: 'enforce valid `v-else` directives.',
description: 'enforce valid `v-else` directives',
category: 'Possible Errors',

@@ -86,0 +86,0 @@ recommended: true

@@ -191,3 +191,3 @@ /**

docs: {
description: 'enforce valid `v-for` directives.',
description: 'enforce valid `v-for` directives',
category: 'Possible Errors',

@@ -194,0 +194,0 @@ recommended: true

@@ -60,3 +60,3 @@ /**

docs: {
description: 'enforce valid `v-html` directives.',
description: 'enforce valid `v-html` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: true

@@ -76,3 +76,3 @@ /**

docs: {
description: 'enforce valid `v-if` directives.',
description: 'enforce valid `v-if` directives',
category: 'Possible Errors',

@@ -79,0 +79,0 @@ recommended: true

@@ -177,3 +177,3 @@ /**

docs: {
description: 'enforce valid `v-model` directives.',
description: 'enforce valid `v-model` directives',
category: 'Possible Errors',

@@ -180,0 +180,0 @@ recommended: true

@@ -65,3 +65,3 @@ /**

docs: {
description: 'enforce valid `v-on` directives.',
description: 'enforce valid `v-on` directives',
category: 'Possible Errors',

@@ -68,0 +68,0 @@ recommended: true

@@ -60,3 +60,3 @@ /**

docs: {
description: 'enforce valid `v-once` directives.',
description: 'enforce valid `v-once` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: true

@@ -60,3 +60,3 @@ /**

docs: {
description: 'enforce valid `v-pre` directives.',
description: 'enforce valid `v-pre` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: true

@@ -60,3 +60,3 @@ /**

docs: {
description: 'enforce valid `v-show` directives.',
description: 'enforce valid `v-show` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: true

@@ -60,3 +60,3 @@ /**

docs: {
description: 'enforce valid `v-text` directives.',
description: 'enforce valid `v-text` directives',
category: 'Possible Errors',

@@ -63,0 +63,0 @@ recommended: true

@@ -460,3 +460,3 @@ /**

return {
ObjectExpression (node) {
'ObjectExpression:exit' (node) {
if (!componentComments.some(el => el.loc.end.line === node.loc.start.line - 1) || isDuplicateNode(node)) return

@@ -463,0 +463,0 @@ cb(node)

{
"name": "eslint-plugin-vue",
"version": "3.13.0",
"version": "3.13.1",
"description": "Official ESLint plugin for Vue.js",

@@ -10,3 +10,3 @@ "main": "lib/index.js",

"test": "nyc npm run test:base -- \"tests/integrations/*.js\" --timeout 60000",
"lint": "eslint .",
"lint": "eslint . --rulesdir eslint-internal-rules",
"pretest": "npm run lint",

@@ -48,3 +48,3 @@ "preversion": "npm run update && npm test",

"requireindex": "^1.1.0",
"vue-eslint-parser": "^2.0.1-beta.0"
"vue-eslint-parser": "^2.0.1-beta.1"
},

@@ -51,0 +51,0 @@ "devDependencies": {

@@ -95,24 +95,24 @@ # eslint-plugin-vue

|:---|:--------|:------------|
| | [no-dupe-keys](./docs/rules/no-dupe-keys.md) | Prevents duplication of field names. |
| :white_check_mark: | [no-parsing-error](./docs/rules/no-parsing-error.md) | disallow parsing errors in `<template>`. |
| | [no-reserved-keys](./docs/rules/no-reserved-keys.md) | Prevent overwrite reserved keys. |
| | [no-shared-component-data](./docs/rules/no-shared-component-data.md) | Enforces component's data property to be a function. |
| | [no-template-key](./docs/rules/no-template-key.md) | disallow `key` attribute on `<template>`. |
| | [require-render-return](./docs/rules/require-render-return.md) | Enforces render function to always return value. |
| | [require-valid-default-prop](./docs/rules/require-valid-default-prop.md) | Enforces props default values to be valid. |
| | [return-in-computed-property](./docs/rules/return-in-computed-property.md) | Enforces that a return statement is present in computed property. |
| :white_check_mark: | [valid-template-root](./docs/rules/valid-template-root.md) | enforce valid template root. |
| :white_check_mark: | [valid-v-bind](./docs/rules/valid-v-bind.md) | enforce valid `v-bind` directives. |
| :white_check_mark: | [valid-v-cloak](./docs/rules/valid-v-cloak.md) | enforce valid `v-cloak` directives. |
| :white_check_mark: | [valid-v-else-if](./docs/rules/valid-v-else-if.md) | enforce valid `v-else-if` directives. |
| :white_check_mark: | [valid-v-else](./docs/rules/valid-v-else.md) | enforce valid `v-else` directives. |
| :white_check_mark: | [valid-v-for](./docs/rules/valid-v-for.md) | enforce valid `v-for` directives. |
| :white_check_mark: | [valid-v-html](./docs/rules/valid-v-html.md) | enforce valid `v-html` directives. |
| :white_check_mark: | [valid-v-if](./docs/rules/valid-v-if.md) | enforce valid `v-if` directives. |
| :white_check_mark: | [valid-v-model](./docs/rules/valid-v-model.md) | enforce valid `v-model` directives. |
| :white_check_mark: | [valid-v-on](./docs/rules/valid-v-on.md) | enforce valid `v-on` directives. |
| :white_check_mark: | [valid-v-once](./docs/rules/valid-v-once.md) | enforce valid `v-once` directives. |
| :white_check_mark: | [valid-v-pre](./docs/rules/valid-v-pre.md) | enforce valid `v-pre` directives. |
| :white_check_mark: | [valid-v-show](./docs/rules/valid-v-show.md) | enforce valid `v-show` directives. |
| :white_check_mark: | [valid-v-text](./docs/rules/valid-v-text.md) | enforce valid `v-text` directives. |
| | [no-dupe-keys](./docs/rules/no-dupe-keys.md) | disallow duplication of field names |
| :white_check_mark: | [no-parsing-error](./docs/rules/no-parsing-error.md) | disallow parsing errors in `<template>` |
| | [no-reserved-keys](./docs/rules/no-reserved-keys.md) | disallow overwriting reserved keys |
| | [no-shared-component-data](./docs/rules/no-shared-component-data.md) | enforce component's data property to be a function |
| | [no-template-key](./docs/rules/no-template-key.md) | disallow `key` attribute on `<template>` |
| | [require-render-return](./docs/rules/require-render-return.md) | enforce render function to always return value |
| | [require-valid-default-prop](./docs/rules/require-valid-default-prop.md) | enforce props default values to be valid |
| | [return-in-computed-property](./docs/rules/return-in-computed-property.md) | enforce that a return statement is present in computed property |
| :white_check_mark: | [valid-template-root](./docs/rules/valid-template-root.md) | enforce valid template root |
| :white_check_mark: | [valid-v-bind](./docs/rules/valid-v-bind.md) | enforce valid `v-bind` directives |
| :white_check_mark: | [valid-v-cloak](./docs/rules/valid-v-cloak.md) | enforce valid `v-cloak` directives |
| :white_check_mark: | [valid-v-else-if](./docs/rules/valid-v-else-if.md) | enforce valid `v-else-if` directives |
| :white_check_mark: | [valid-v-else](./docs/rules/valid-v-else.md) | enforce valid `v-else` directives |
| :white_check_mark: | [valid-v-for](./docs/rules/valid-v-for.md) | enforce valid `v-for` directives |
| :white_check_mark: | [valid-v-html](./docs/rules/valid-v-html.md) | enforce valid `v-html` directives |
| :white_check_mark: | [valid-v-if](./docs/rules/valid-v-if.md) | enforce valid `v-if` directives |
| :white_check_mark: | [valid-v-model](./docs/rules/valid-v-model.md) | enforce valid `v-model` directives |
| :white_check_mark: | [valid-v-on](./docs/rules/valid-v-on.md) | enforce valid `v-on` directives |
| :white_check_mark: | [valid-v-once](./docs/rules/valid-v-once.md) | enforce valid `v-once` directives |
| :white_check_mark: | [valid-v-pre](./docs/rules/valid-v-pre.md) | enforce valid `v-pre` directives |
| :white_check_mark: | [valid-v-show](./docs/rules/valid-v-show.md) | enforce valid `v-show` directives |
| :white_check_mark: | [valid-v-text](./docs/rules/valid-v-text.md) | enforce valid `v-text` directives |

@@ -124,14 +124,14 @@

|:---|:--------|:------------|
| :wrench: | [html-end-tags](./docs/rules/html-end-tags.md) | enforce end tag style. |
| | [no-async-in-computed-properties](./docs/rules/no-async-in-computed-properties.md) | Check if there are no asynchronous actions inside computed properties. |
| :white_check_mark: | [no-confusing-v-for-v-if](./docs/rules/no-confusing-v-for-v-if.md) | disallow confusing `v-for` and `v-if` on the same element. |
| | [no-duplicate-attributes](./docs/rules/no-duplicate-attributes.md) | disallow duplicate attributes. |
| | [no-side-effects-in-computed-properties](./docs/rules/no-side-effects-in-computed-properties.md) | Don't introduce side effects in computed properties |
| :white_check_mark: | [no-textarea-mustache](./docs/rules/no-textarea-mustache.md) | disallow mustaches in `<textarea>`. |
| | [order-in-components](./docs/rules/order-in-components.md) | Keep order of properties in components |
| :white_check_mark: | [require-component-is](./docs/rules/require-component-is.md) | require `v-bind:is` of `<component>` elements. |
| | [require-default-prop](./docs/rules/require-default-prop.md) | Require default value for props |
| | [require-prop-types](./docs/rules/require-prop-types.md) | Prop definitions should be detailed |
| :white_check_mark: | [require-v-for-key](./docs/rules/require-v-for-key.md) | require `v-bind:key` with `v-for` directives. |
| | [this-in-template](./docs/rules/this-in-template.md) | enforce usage of `this` in template. |
| :wrench: | [html-end-tags](./docs/rules/html-end-tags.md) | enforce end tag style |
| | [no-async-in-computed-properties](./docs/rules/no-async-in-computed-properties.md) | disallow asynchronous actions in computed properties |
| :white_check_mark: | [no-confusing-v-for-v-if](./docs/rules/no-confusing-v-for-v-if.md) | disallow confusing `v-for` and `v-if` on the same element |
| | [no-duplicate-attributes](./docs/rules/no-duplicate-attributes.md) | disallow duplication of attributes |
| | [no-side-effects-in-computed-properties](./docs/rules/no-side-effects-in-computed-properties.md) | disallow side effects in computed properties |
| :white_check_mark: | [no-textarea-mustache](./docs/rules/no-textarea-mustache.md) | disallow mustaches in `<textarea>` |
| | [order-in-components](./docs/rules/order-in-components.md) | enforce order of properties in components |
| :white_check_mark: | [require-component-is](./docs/rules/require-component-is.md) | require `v-bind:is` of `<component>` elements |
| | [require-default-prop](./docs/rules/require-default-prop.md) | require default value for props |
| | [require-prop-types](./docs/rules/require-prop-types.md) | require type definitions in props |
| :white_check_mark: | [require-v-for-key](./docs/rules/require-v-for-key.md) | require `v-bind:key` with `v-for` directives |
| | [this-in-template](./docs/rules/this-in-template.md) | enforce usage of `this` in template |

@@ -143,11 +143,11 @@

|:---|:--------|:------------|
| :wrench: | [attribute-hyphenation](./docs/rules/attribute-hyphenation.md) | Define a style for the props casing in templates. |
| | [html-quotes](./docs/rules/html-quotes.md) | enforce quotes style of HTML attributes. |
| :wrench: | [html-self-closing](./docs/rules/html-self-closing.md) | enforce self-closing style. |
| | [max-attributes-per-line](./docs/rules/max-attributes-per-line.md) | Define the number of attributes allows per line |
| :wrench: | [mustache-interpolation-spacing](./docs/rules/mustache-interpolation-spacing.md) | enforce unified spacing in mustache interpolations. |
| :wrench: | [name-property-casing](./docs/rules/name-property-casing.md) | Requires specific casing for the name property in Vue components |
| :wrench: | [no-multi-spaces](./docs/rules/no-multi-spaces.md) | This rule warns about the usage of extra whitespaces between attributes |
| :wrench: | [v-bind-style](./docs/rules/v-bind-style.md) | enforce `v-bind` directive style. |
| :wrench: | [v-on-style](./docs/rules/v-on-style.md) | enforce `v-on` directive style. |
| :wrench: | [attribute-hyphenation](./docs/rules/attribute-hyphenation.md) | enforce attribute naming style in template |
| | [html-quotes](./docs/rules/html-quotes.md) | enforce quotes style of HTML attributes |
| :wrench: | [html-self-closing](./docs/rules/html-self-closing.md) | enforce self-closing style |
| | [max-attributes-per-line](./docs/rules/max-attributes-per-line.md) | enforce the maximum number of attributes per line |
| :wrench: | [mustache-interpolation-spacing](./docs/rules/mustache-interpolation-spacing.md) | enforce unified spacing in mustache interpolations |
| :wrench: | [name-property-casing](./docs/rules/name-property-casing.md) | enforce specific casing for the name property in Vue components |
| :wrench: | [no-multi-spaces](./docs/rules/no-multi-spaces.md) | disallow multiple spaces |
| :wrench: | [v-bind-style](./docs/rules/v-bind-style.md) | enforce `v-bind` directive style |
| :wrench: | [v-on-style](./docs/rules/v-on-style.md) | enforce `v-on` directive style |

@@ -159,3 +159,3 @@

|:---|:--------|:------------|
| :white_check_mark: | [jsx-uses-vars](./docs/rules/jsx-uses-vars.md) | Prevent variables used in JSX to be marked as unused |
| :white_check_mark: | [jsx-uses-vars](./docs/rules/jsx-uses-vars.md) | prevent variables used in JSX to be marked as unused |

@@ -169,18 +169,18 @@ ### Deprecated

|:--------|:------------|
| [html-no-self-closing](./rules/html-no-self-closing.md) | [html-self-closing-style](./rules/html-self-closing-style.md) |
| [no-invalid-template-root](./rules/no-invalid-template-root.md) | [valid-template-root](./rules/valid-template-root.md) |
| [no-invalid-v-bind](./rules/no-invalid-v-bind.md) | [valid-v-bind](./rules/valid-v-bind.md) |
| [no-invalid-v-cloak](./rules/no-invalid-v-cloak.md) | [valid-v-cloak](./rules/valid-v-cloak.md) |
| [no-invalid-v-else-if](./rules/no-invalid-v-else-if.md) | [valid-v-else-if](./rules/valid-v-else-if.md) |
| [no-invalid-v-else](./rules/no-invalid-v-else.md) | [valid-v-else](./rules/valid-v-else.md) |
| [no-invalid-v-for](./rules/no-invalid-v-for.md) | [valid-v-for](./rules/valid-v-for.md) |
| [no-invalid-v-html](./rules/no-invalid-v-html.md) | [valid-v-html](./rules/valid-v-html.md) |
| [no-invalid-v-if](./rules/no-invalid-v-if.md) | [valid-v-if](./rules/valid-v-if.md) |
| [no-invalid-v-model](./rules/no-invalid-v-model.md) | [valid-v-model](./rules/valid-v-model.md) |
| [no-invalid-v-on](./rules/no-invalid-v-on.md) | [valid-v-on](./rules/valid-v-on.md) |
| [no-invalid-v-once](./rules/no-invalid-v-once.md) | [valid-v-once](./rules/valid-v-once.md) |
| [no-invalid-v-pre](./rules/no-invalid-v-pre.md) | [valid-v-pre](./rules/valid-v-pre.md) |
| [no-invalid-v-show](./rules/no-invalid-v-show.md) | [valid-v-show](./rules/valid-v-show.md) |
| [no-invalid-v-text](./rules/no-invalid-v-text.md) | [valid-v-text](./rules/valid-v-text.md) |
| [no-reservered-keys](./rules/no-reservered-keys.md) | [no-reserved-keys](./rules/no-reserved-keys.md) |
| [html-no-self-closing](./docs/rules/html-no-self-closing.md) | [html-self-closing](./docs/rules/html-self-closing.md) |
| [no-invalid-template-root](./docs/rules/no-invalid-template-root.md) | [valid-template-root](./docs/rules/valid-template-root.md) |
| [no-invalid-v-bind](./docs/rules/no-invalid-v-bind.md) | [valid-v-bind](./docs/rules/valid-v-bind.md) |
| [no-invalid-v-cloak](./docs/rules/no-invalid-v-cloak.md) | [valid-v-cloak](./docs/rules/valid-v-cloak.md) |
| [no-invalid-v-else-if](./docs/rules/no-invalid-v-else-if.md) | [valid-v-else-if](./docs/rules/valid-v-else-if.md) |
| [no-invalid-v-else](./docs/rules/no-invalid-v-else.md) | [valid-v-else](./docs/rules/valid-v-else.md) |
| [no-invalid-v-for](./docs/rules/no-invalid-v-for.md) | [valid-v-for](./docs/rules/valid-v-for.md) |
| [no-invalid-v-html](./docs/rules/no-invalid-v-html.md) | [valid-v-html](./docs/rules/valid-v-html.md) |
| [no-invalid-v-if](./docs/rules/no-invalid-v-if.md) | [valid-v-if](./docs/rules/valid-v-if.md) |
| [no-invalid-v-model](./docs/rules/no-invalid-v-model.md) | [valid-v-model](./docs/rules/valid-v-model.md) |
| [no-invalid-v-on](./docs/rules/no-invalid-v-on.md) | [valid-v-on](./docs/rules/valid-v-on.md) |
| [no-invalid-v-once](./docs/rules/no-invalid-v-once.md) | [valid-v-once](./docs/rules/valid-v-once.md) |
| [no-invalid-v-pre](./docs/rules/no-invalid-v-pre.md) | [valid-v-pre](./docs/rules/valid-v-pre.md) |
| [no-invalid-v-show](./docs/rules/no-invalid-v-show.md) | [valid-v-show](./docs/rules/valid-v-show.md) |
| [no-invalid-v-text](./docs/rules/no-invalid-v-text.md) | [valid-v-text](./docs/rules/valid-v-text.md) |
| [no-reservered-keys](./docs/rules/no-reservered-keys.md) | [no-reserved-keys](./docs/rules/no-reserved-keys.md) |

@@ -187,0 +187,0 @@ <!--RULES_TABLE_END-->

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc