diff --git a/.env-cmdrc b/.env-cmdrc
new file mode 100644
index 000000000..59d3db357
--- /dev/null
+++ b/.env-cmdrc
@@ -0,0 +1,5 @@
+{
+ "version": {
+ "IN_VERSION_SCRIPT": "true"
+ }
+}
diff --git a/docs/rules/README.md b/docs/rules/README.md
index 68677d252..5f848467b 100644
--- a/docs/rules/README.md
+++ b/docs/rules/README.md
@@ -301,6 +301,8 @@ For example:
| [vue/no-multiple-objects-in-class](./no-multiple-objects-in-class.md) | disallow to pass multiple objects into array to class | |
| [vue/no-potential-component-option-typo](./no-potential-component-option-typo.md) | disallow a potential typo in your component property | |
| [vue/no-reserved-component-names](./no-reserved-component-names.md) | disallow the use of reserved names in component definitions | |
+| [vue/no-restricted-block](./no-restricted-block.md) | disallow specific block | |
+| [vue/no-restricted-call-after-await](./no-restricted-call-after-await.md) | disallow asynchronously called restricted methods | |
| [vue/no-restricted-component-options](./no-restricted-component-options.md) | disallow specific component option | |
| [vue/no-restricted-custom-event](./no-restricted-custom-event.md) | disallow specific custom event | |
| [vue/no-restricted-props](./no-restricted-props.md) | disallow specific props | |
@@ -320,6 +322,7 @@ For example:
| [vue/sort-keys](./sort-keys.md) | enforce sort-keys in a manner that is compatible with order-in-components | |
| [vue/static-class-names-order](./static-class-names-order.md) | enforce static class names order | :wrench: |
| [vue/v-for-delimiter-style](./v-for-delimiter-style.md) | enforce `v-for` directive's delimiter style | :wrench: |
+| [vue/v-on-event-hyphenation](./v-on-event-hyphenation.md) | enforce v-on event naming style on custom components in template | :wrench: |
| [vue/v-on-function-call](./v-on-function-call.md) | enforce or forbid parentheses after method calls without arguments in `v-on` directives | :wrench: |
### Extension Rules
diff --git a/docs/rules/array-bracket-newline.md b/docs/rules/array-bracket-newline.md
index 2bc2a0886..4d336afd0 100644
--- a/docs/rules/array-bracket-newline.md
+++ b/docs/rules/array-bracket-newline.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/array-bracket-newline
description: enforce linebreaks after opening and before closing array brackets
+since: v7.1.0
---
# vue/array-bracket-newline
+
> enforce linebreaks after opening and before closing array brackets
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -17,6 +19,10 @@ This rule is the same rule as core [array-bracket-newline] rule but it applies t
[array-bracket-newline]: https://eslint.org/docs/rules/array-bracket-newline
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.1.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/array-bracket-newline.js)
diff --git a/docs/rules/array-bracket-spacing.md b/docs/rules/array-bracket-spacing.md
index 4da69b6f6..fd37f2fe3 100644
--- a/docs/rules/array-bracket-spacing.md
+++ b/docs/rules/array-bracket-spacing.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/array-bracket-spacing
description: enforce consistent spacing inside array brackets
+since: v5.2.0
---
# vue/array-bracket-spacing
+
> enforce consistent spacing inside array brackets
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -17,6 +19,10 @@ This rule is the same rule as core [array-bracket-spacing] rule but it applies t
[array-bracket-spacing]: https://eslint.org/docs/rules/array-bracket-spacing
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.2.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/array-bracket-spacing.js)
diff --git a/docs/rules/arrow-spacing.md b/docs/rules/arrow-spacing.md
index 0ca9c4f82..40194ae4b 100644
--- a/docs/rules/arrow-spacing.md
+++ b/docs/rules/arrow-spacing.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/arrow-spacing
description: enforce consistent spacing before and after the arrow in arrow functions
+since: v5.2.0
---
# vue/arrow-spacing
+
> enforce consistent spacing before and after the arrow in arrow functions
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -17,6 +19,10 @@ This rule is the same rule as core [arrow-spacing] rule but it applies to the ex
[arrow-spacing]: https://eslint.org/docs/rules/arrow-spacing
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.2.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/arrow-spacing.js)
diff --git a/docs/rules/attribute-hyphenation.md b/docs/rules/attribute-hyphenation.md
index b6a4915c2..cc6391831 100644
--- a/docs/rules/attribute-hyphenation.md
+++ b/docs/rules/attribute-hyphenation.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/attribute-hyphenation
description: enforce attribute naming style on custom components in template
+since: v3.9.0
---
# vue/attribute-hyphenation
+
> enforce attribute naming style on custom components in template
- :gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -45,6 +47,7 @@ Default casing is set to `always` with `['data-', 'aria-', 'slot-scope']` set to
- `"ignore"` ... Array of ignored names
### `"always"`
+
It errors on upper case letters.
@@ -62,6 +65,7 @@ It errors on upper case letters.
### `"never"`
+
It errors on hyphens except `data-`, `aria-` and `slot-scope`.
@@ -82,6 +86,7 @@ It errors on hyphens except `data-`, `aria-` and `slot-scope`.
### `"never", { "ignore": ["custom-prop"] }`
+
Don't use hyphenated name but allow custom attributes
@@ -102,6 +107,15 @@ Don't use hyphenated name but allow custom attributes
+## :couple: Related Rules
+
+- [vue/v-on-event-hyphenation](./v-on-event-hyphenation.md)
+- [vue/prop-name-casing](./prop-name-casing.md)
+
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v3.9.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/attribute-hyphenation.js)
diff --git a/docs/rules/attributes-order.md b/docs/rules/attributes-order.md
index ea8c4ae9c..8bcb8b8ea 100644
--- a/docs/rules/attributes-order.md
+++ b/docs/rules/attributes-order.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/attributes-order
description: enforce order of attributes
+since: v4.3.0
---
# vue/attributes-order
+
> enforce order of attributes
- :gear: This rule is included in `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -89,7 +91,33 @@ This rule aims to enforce ordering of component attributes. The default order is
+Note that `v-bind="object"` syntax is considered to be the same as the next or previous attribute categories.
+
+
+
+```vue
+
+
+
+
+
+
+
+
+
+```
+
+
+
## :wrench: Options
+
```json
{
"vue/attributes-order": ["error", {
@@ -111,7 +139,7 @@ This rule aims to enforce ordering of component attributes. The default order is
}
```
-### `"alphabetical": true`
+### `"alphabetical": true`
@@ -220,6 +248,10 @@ This rule aims to enforce ordering of component attributes. The default order is
- [Style guide - Element attribute order](https://v3.vuejs.org/style-guide/#element-attribute-order-recommended)
- [Style guide (for v2) - Element attribute order](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended)
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v4.3.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/attributes-order.js)
diff --git a/docs/rules/block-spacing.md b/docs/rules/block-spacing.md
index bc6b003d6..72a4d495c 100644
--- a/docs/rules/block-spacing.md
+++ b/docs/rules/block-spacing.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/block-spacing
description: disallow or enforce spaces inside of blocks after opening block and before closing block
+since: v5.2.0
---
# vue/block-spacing
+
> disallow or enforce spaces inside of blocks after opening block and before closing block
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -17,6 +19,10 @@ This rule is the same rule as core [block-spacing] rule but it applies to the ex
[block-spacing]: https://eslint.org/docs/rules/block-spacing
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.2.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/block-spacing.js)
diff --git a/docs/rules/block-tag-newline.md b/docs/rules/block-tag-newline.md
index a3ab5f965..59d43a14b 100644
--- a/docs/rules/block-tag-newline.md
+++ b/docs/rules/block-tag-newline.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/block-tag-newline
description: enforce line breaks after opening and before closing block-level tags
+since: v7.1.0
---
# vue/block-tag-newline
+
> enforce line breaks after opening and before closing block-level tags
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -155,6 +157,10 @@ export default {
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.1.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/block-tag-newline.js)
diff --git a/docs/rules/brace-style.md b/docs/rules/brace-style.md
index 7ef57cd85..99bf8e0ce 100644
--- a/docs/rules/brace-style.md
+++ b/docs/rules/brace-style.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/brace-style
description: enforce consistent brace style for blocks
+since: v5.2.0
---
# vue/brace-style
+
> enforce consistent brace style for blocks
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -17,6 +19,10 @@ This rule is the same rule as core [brace-style] rule but it applies to the expr
[brace-style]: https://eslint.org/docs/rules/brace-style
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.2.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/brace-style.js)
diff --git a/docs/rules/camelcase.md b/docs/rules/camelcase.md
index b52fcefd8..2ee39bdcc 100644
--- a/docs/rules/camelcase.md
+++ b/docs/rules/camelcase.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/camelcase
description: enforce camelcase naming convention
+since: v5.2.0
---
# vue/camelcase
+
> enforce camelcase naming convention
This rule is the same rule as core [camelcase] rule but it applies to the expressions in ``.
@@ -15,6 +17,10 @@ This rule is the same rule as core [camelcase] rule but it applies to the expres
[camelcase]: https://eslint.org/docs/rules/camelcase
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.2.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/camelcase.js)
diff --git a/docs/rules/comma-dangle.md b/docs/rules/comma-dangle.md
index 8e0561fee..1ef275f42 100644
--- a/docs/rules/comma-dangle.md
+++ b/docs/rules/comma-dangle.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/comma-dangle
description: require or disallow trailing commas
+since: v5.2.0
---
# vue/comma-dangle
+
> require or disallow trailing commas
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -17,6 +19,10 @@ This rule is the same rule as core [comma-dangle] rule but it applies to the exp
[comma-dangle]: https://eslint.org/docs/rules/comma-dangle
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.2.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/comma-dangle.js)
diff --git a/docs/rules/comma-spacing.md b/docs/rules/comma-spacing.md
index 47069d384..f3531c8cf 100644
--- a/docs/rules/comma-spacing.md
+++ b/docs/rules/comma-spacing.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/comma-spacing
description: enforce consistent spacing before and after commas
+since: v7.0.0
---
# vue/comma-spacing
+
> enforce consistent spacing before and after commas
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -17,6 +19,10 @@ This rule is the same rule as core [comma-spacing] rule but it applies to the ex
[comma-spacing]: https://eslint.org/docs/rules/comma-spacing
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/comma-spacing.js)
diff --git a/docs/rules/comma-style.md b/docs/rules/comma-style.md
index ee335f70c..2dfb24660 100644
--- a/docs/rules/comma-style.md
+++ b/docs/rules/comma-style.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/comma-style
description: enforce consistent comma style
+since: v7.0.0
---
# vue/comma-style
+
> enforce consistent comma style
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -17,6 +19,10 @@ This rule is the same rule as core [comma-style] rule but it applies to the expr
[comma-style]: https://eslint.org/docs/rules/comma-style
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/comma-style.js)
diff --git a/docs/rules/comment-directive.md b/docs/rules/comment-directive.md
index 8b56e14a1..77c3986c5 100644
--- a/docs/rules/comment-directive.md
+++ b/docs/rules/comment-directive.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/comment-directive
description: support comment-directives in ``
+since: v4.1.0
---
# vue/comment-directive
+
> support comment-directives in ``
- :gear: This rule is included in all of `"plugin:vue/base"`, `"plugin:vue/essential"`, `"plugin:vue/vue3-essential"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/recommended"` and `"plugin:vue/vue3-recommended"`.
@@ -127,6 +129,10 @@ Unused reports cannot be suppressed with `eslint-disable` HTML comments.
[Disabling rules with inline comments]: https://eslint.org/docs/user-guide/configuring#disabling-rules-with-inline-comments
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v4.1.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/comment-directive.js)
diff --git a/docs/rules/component-definition-name-casing.md b/docs/rules/component-definition-name-casing.md
index b14e70e6f..5e89ace75 100644
--- a/docs/rules/component-definition-name-casing.md
+++ b/docs/rules/component-definition-name-casing.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/component-definition-name-casing
description: enforce specific casing for component definition name
+since: v7.0.0
---
# vue/component-definition-name-casing
+
> enforce specific casing for component definition name
- :gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -121,6 +123,10 @@ Vue.component('MyComponent', {
- [Style guide - Component name casing in JS/JSX](https://v3.vuejs.org/style-guide/#component-name-casing-in-js-jsx-strongly-recommended)
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/component-definition-name-casing.js)
diff --git a/docs/rules/component-name-in-template-casing.md b/docs/rules/component-name-in-template-casing.md
index a996a5f44..a8bbc7745 100644
--- a/docs/rules/component-name-in-template-casing.md
+++ b/docs/rules/component-name-in-template-casing.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/component-name-in-template-casing
description: enforce specific casing for the component naming style in template
+since: v5.0.0
---
# vue/component-name-in-template-casing
+
> enforce specific casing for the component naming style in template
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fixing-problems) can automatically fix some of the problems reported by this rule.
@@ -143,6 +145,10 @@ export default {
- [Style guide - Component name casing in templates](https://v3.vuejs.org/style-guide/#component-name-casing-in-templates-strongly-recommended)
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/component-name-in-template-casing.js)
diff --git a/docs/rules/component-tags-order.md b/docs/rules/component-tags-order.md
index d1ecc7d85..e0c0c99f3 100644
--- a/docs/rules/component-tags-order.md
+++ b/docs/rules/component-tags-order.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/component-tags-order
description: enforce order of component top-level elements
+since: v6.1.0
---
# vue/component-tags-order
+
> enforce order of component top-level elements
- :gear: This rule is included in `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -114,6 +116,10 @@ This rule warns about the order of the `
+```
+
+
+
+The following properties can be specified for the object.
+
+- `module` ... Specify the module name.
+- `path` ... Specify the imported name or the path that points to the method.
+- `message` ... Specify an optional custom message.
+
+For examples:
+
+```json5
+{
+ "vue/no-restricted-call-after-await": ["error",
+ { "module": "a", "path": "foo" },
+ { "module": "b", "path": ["bar", "baz"] },
+ { "module": "c" }, // Checks the default import.
+ { "module": "d", "path": "default" }, // Checks the default import.
+ ]
+}
+```
+
+
+
+```vue
+
+```
+
+
+
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.4.0
+
+## :mag: Implementation
+
+- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-restricted-call-after-await.js)
+- [Test source](https://github.com/vuejs/eslint-plugin-vue/blob/master/tests/lib/rules/no-restricted-call-after-await.js)
diff --git a/docs/rules/no-restricted-component-options.md b/docs/rules/no-restricted-component-options.md
index 41292bc67..a11570945 100644
--- a/docs/rules/no-restricted-component-options.md
+++ b/docs/rules/no-restricted-component-options.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-restricted-component-options
description: disallow specific component option
+since: v7.0.0
---
# vue/no-restricted-component-options
+
> disallow specific component option
## :book: Rule Details
@@ -118,6 +120,10 @@ The following properties can be specified for the object.
- `name` ... Specify the component option name or pattern, or the path by its array.
- `message` ... Specify an optional custom message.
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-restricted-component-options.js)
diff --git a/docs/rules/no-restricted-custom-event.md b/docs/rules/no-restricted-custom-event.md
index 73cf09679..231ad0607 100644
--- a/docs/rules/no-restricted-custom-event.md
+++ b/docs/rules/no-restricted-custom-event.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-restricted-custom-event
description: disallow specific custom event
+since: v7.3.0
---
# vue/no-restricted-custom-event
+
> disallow specific custom event
## :book: Rule Details
@@ -91,6 +93,10 @@ export default {
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.3.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-restricted-custom-event.js)
diff --git a/docs/rules/no-restricted-props.md b/docs/rules/no-restricted-props.md
index 664b6f2cd..42ddec12b 100644
--- a/docs/rules/no-restricted-props.md
+++ b/docs/rules/no-restricted-props.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-restricted-props
description: disallow specific props
+since: v7.3.0
---
# vue/no-restricted-props
+
> disallow specific props
## :book: Rule Details
@@ -98,6 +100,10 @@ export default {
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.3.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-restricted-props.js)
diff --git a/docs/rules/no-restricted-static-attribute.md b/docs/rules/no-restricted-static-attribute.md
index 7cd5f9546..68ed58431 100644
--- a/docs/rules/no-restricted-static-attribute.md
+++ b/docs/rules/no-restricted-static-attribute.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-restricted-static-attribute
description: disallow specific attribute
+since: v7.0.0
---
# vue/no-restricted-static-attribute
+
> disallow specific attribute
## :book: Rule Details
@@ -91,6 +93,10 @@ The following properties can be specified for the object.
[vue/no-restricted-v-bind]: ./no-restricted-v-bind.md
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-restricted-static-attribute.js)
diff --git a/docs/rules/no-restricted-syntax.md b/docs/rules/no-restricted-syntax.md
index c28bd5ba6..e509e1fc0 100644
--- a/docs/rules/no-restricted-syntax.md
+++ b/docs/rules/no-restricted-syntax.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-restricted-syntax
description: disallow specified syntax
+since: v5.2.0
---
# vue/no-restricted-syntax
+
> disallow specified syntax
This rule is the same rule as core [no-restricted-syntax] rule but it applies to the expressions in ``.
@@ -49,6 +51,10 @@ Forbids call expressions inside mustache interpolation.
[vue-eslint-parser]: https://github.com/vuejs/vue-eslint-parser
[vue-eslint-parser - AST docs]: https://github.com/vuejs/vue-eslint-parser/blob/master/docs/ast.md
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.2.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-restricted-syntax.js)
diff --git a/docs/rules/no-restricted-v-bind.md b/docs/rules/no-restricted-v-bind.md
index 30f4fa06d..8b9332f6e 100644
--- a/docs/rules/no-restricted-v-bind.md
+++ b/docs/rules/no-restricted-v-bind.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-restricted-v-bind
description: disallow specific argument in `v-bind`
+since: v7.0.0
---
# vue/no-restricted-v-bind
+
> disallow specific argument in `v-bind`
## :book: Rule Details
@@ -113,6 +115,10 @@ The following properties can be specified for the object.
[vue/no-restricted-static-attribute]: ./no-restricted-static-attribute.md
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-restricted-v-bind.js)
diff --git a/docs/rules/no-setup-props-destructure.md b/docs/rules/no-setup-props-destructure.md
index 2bd784a87..91504a946 100644
--- a/docs/rules/no-setup-props-destructure.md
+++ b/docs/rules/no-setup-props-destructure.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-setup-props-destructure
description: disallow destructuring of `props` passed to `setup`
+since: v7.0.0
---
# vue/no-setup-props-destructure
+
> disallow destructuring of `props` passed to `setup`
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/vue3-strongly-recommended"` and `"plugin:vue/vue3-recommended"`.
@@ -95,6 +97,10 @@ Nothing.
- [Guide - Composition API - Setup](https://v3.vuejs.org/guide/composition-api-setup.html)
- [Vue RFCs - 0013-composition-api](https://github.com/vuejs/rfcs/blob/master/active-rfcs/0013-composition-api.md)
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-setup-props-destructure.js)
diff --git a/docs/rules/no-shared-component-data.md b/docs/rules/no-shared-component-data.md
index 2b0fb706a..258828a47 100644
--- a/docs/rules/no-shared-component-data.md
+++ b/docs/rules/no-shared-component-data.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-shared-component-data
description: enforce component's data property to be a function
+since: v3.8.0
---
# vue/no-shared-component-data
+
> enforce component's data property to be a function
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/essential"`, `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -72,6 +74,10 @@ Nothing.
- [API - data](https://v3.vuejs.org/api/options-data.html#data-2)
- [API (for v2) - data](https://v3.vuejs.org/api/options-data.html#data-2)
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v3.8.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-shared-component-data.js)
diff --git a/docs/rules/no-side-effects-in-computed-properties.md b/docs/rules/no-side-effects-in-computed-properties.md
index 999a87f1b..7a3df6871 100644
--- a/docs/rules/no-side-effects-in-computed-properties.md
+++ b/docs/rules/no-side-effects-in-computed-properties.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-side-effects-in-computed-properties
description: disallow side effects in computed properties
+since: v3.6.0
---
# vue/no-side-effects-in-computed-properties
+
> disallow side effects in computed properties
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/essential"`, `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -64,6 +66,10 @@ Nothing.
- [Guide - Computed Caching vs Methods](https://v3.vuejs.org/guide/computed.html#computed-caching-vs-methods)
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v3.6.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-side-effects-in-computed-properties.js)
diff --git a/docs/rules/no-spaces-around-equal-signs-in-attribute.md b/docs/rules/no-spaces-around-equal-signs-in-attribute.md
index 8ac003c5c..f13feee2a 100644
--- a/docs/rules/no-spaces-around-equal-signs-in-attribute.md
+++ b/docs/rules/no-spaces-around-equal-signs-in-attribute.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-spaces-around-equal-signs-in-attribute
description: disallow spaces around equal signs in attribute
+since: v5.0.0
---
# vue/no-spaces-around-equal-signs-in-attribute
+
> disallow spaces around equal signs in attribute
- :gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -43,6 +45,10 @@ HTML5 allows spaces around equal signs. But space-less is easier to read, and gr
* [HTML5 Style Guide - W3Schools *Spaces and Equal Signs*](https://www.w3schools.com/html/html5_syntax.asp)
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-spaces-around-equal-signs-in-attribute.js)
diff --git a/docs/rules/no-sparse-arrays.md b/docs/rules/no-sparse-arrays.md
index 3757d3408..394aaa16e 100644
--- a/docs/rules/no-sparse-arrays.md
+++ b/docs/rules/no-sparse-arrays.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-sparse-arrays
description: disallow sparse arrays
+since: v7.0.0
---
# vue/no-sparse-arrays
+
> disallow sparse arrays
This rule is the same rule as core [no-sparse-arrays] rule but it applies to the expressions in ``.
@@ -15,6 +17,10 @@ This rule is the same rule as core [no-sparse-arrays] rule but it applies to the
[no-sparse-arrays]: https://eslint.org/docs/rules/no-sparse-arrays
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-sparse-arrays.js)
diff --git a/docs/rules/no-static-inline-styles.md b/docs/rules/no-static-inline-styles.md
index 3d0921c02..09f7f2188 100644
--- a/docs/rules/no-static-inline-styles.md
+++ b/docs/rules/no-static-inline-styles.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-static-inline-styles
description: disallow static inline `style` attributes
+since: v7.0.0
---
# vue/no-static-inline-styles
+
> disallow static inline `style` attributes
## :book: Rule Details
@@ -63,6 +65,10 @@ The styles reported in this rule mean that we recommend separating them into ``
+since: v3.4.0
---
# vue/no-template-key
+
> disallow `key` attribute on ``
- :gear: This rule is included in all of `"plugin:vue/vue3-essential"`, `"plugin:vue/essential"`, `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -53,6 +55,10 @@ Nothing.
- [API - Special Attributes - key](https://v3.vuejs.org/api/special-attributes.html#key)
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v3.4.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-template-key.js)
diff --git a/docs/rules/no-template-shadow.md b/docs/rules/no-template-shadow.md
index b3bbc6c08..a03d85938 100644
--- a/docs/rules/no-template-shadow.md
+++ b/docs/rules/no-template-shadow.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-template-shadow
description: disallow variable declarations from shadowing variables declared in the outer scope
+since: v5.0.0
---
# vue/no-template-shadow
+
> disallow variable declarations from shadowing variables declared in the outer scope
- :gear: This rule is included in all of `"plugin:vue/vue3-strongly-recommended"`, `"plugin:vue/strongly-recommended"`, `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -50,6 +52,10 @@ This rule aims to eliminate shadowed variable declarations of v-for directives o
Nothing.
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v5.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-template-shadow.js)
diff --git a/docs/rules/no-template-target-blank.md b/docs/rules/no-template-target-blank.md
index d4a142d76..411b1c9c2 100644
--- a/docs/rules/no-template-target-blank.md
+++ b/docs/rules/no-template-target-blank.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-template-target-blank
description: disallow target="_blank" attribute without rel="noopener noreferrer"
+since: v7.0.0
---
# vue/no-template-target-blank
+
> disallow target="_blank" attribute without rel="noopener noreferrer"
## :book: Rule Details
@@ -103,6 +105,10 @@ This rule disallows using `target="_blank"` attribute without `rel="noopener nor
+## :rocket: Version
+
+This rule was introduced in eslint-plugin-vue v7.0.0
+
## :mag: Implementation
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-template-target-blank.js)
diff --git a/docs/rules/no-textarea-mustache.md b/docs/rules/no-textarea-mustache.md
index c424f2010..4c26b6bf0 100644
--- a/docs/rules/no-textarea-mustache.md
+++ b/docs/rules/no-textarea-mustache.md
@@ -3,8 +3,10 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-textarea-mustache
description: disallow mustaches in `