Skip to content

Commit 30e89ec

Browse files
authored
Chores: Add release version of rule to docs (#1386)
1 parent dfe445f commit 30e89ec

File tree

170 files changed

+885
-6
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

170 files changed

+885
-6
lines changed

docs/rules/array-bracket-newline.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: enforce linebreaks after opening and before closing array brackets
66
since: v7.1.0
77
---
88
# vue/array-bracket-newline
9+
910
> enforce linebreaks after opening and before closing array brackets
1011
1112
- :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.
@@ -18,6 +19,10 @@ This rule is the same rule as core [array-bracket-newline] rule but it applies t
1819

1920
[array-bracket-newline]: https://eslint.org/docs/rules/array-bracket-newline
2021

22+
## :rocket: Version
23+
24+
This rule was introduced in eslint-plugin-vue v7.1.0
25+
2126
## :mag: Implementation
2227

2328
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/array-bracket-newline.js)

docs/rules/array-bracket-spacing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: enforce consistent spacing inside array brackets
66
since: v5.2.0
77
---
88
# vue/array-bracket-spacing
9+
910
> enforce consistent spacing inside array brackets
1011
1112
- :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.
@@ -18,6 +19,10 @@ This rule is the same rule as core [array-bracket-spacing] rule but it applies t
1819

1920
[array-bracket-spacing]: https://eslint.org/docs/rules/array-bracket-spacing
2021

22+
## :rocket: Version
23+
24+
This rule was introduced in eslint-plugin-vue v5.2.0
25+
2126
## :mag: Implementation
2227

2328
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/array-bracket-spacing.js)

docs/rules/arrow-spacing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: enforce consistent spacing before and after the arrow in arrow func
66
since: v5.2.0
77
---
88
# vue/arrow-spacing
9+
910
> enforce consistent spacing before and after the arrow in arrow functions
1011
1112
- :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.
@@ -18,6 +19,10 @@ This rule is the same rule as core [arrow-spacing] rule but it applies to the ex
1819

1920
[arrow-spacing]: https://eslint.org/docs/rules/arrow-spacing
2021

22+
## :rocket: Version
23+
24+
This rule was introduced in eslint-plugin-vue v5.2.0
25+
2126
## :mag: Implementation
2227

2328
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/arrow-spacing.js)

docs/rules/attribute-hyphenation.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: enforce attribute naming style on custom components in template
66
since: v3.9.0
77
---
88
# vue/attribute-hyphenation
9+
910
> enforce attribute naming style on custom components in template
1011
1112
- :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"`.
@@ -103,6 +104,10 @@ Don't use hyphenated name but allow custom attributes
103104

104105
</eslint-code-block>
105106

107+
## :rocket: Version
108+
109+
This rule was introduced in eslint-plugin-vue v3.9.0
110+
106111
## :mag: Implementation
107112

108113
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/attribute-hyphenation.js)

docs/rules/attributes-order.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: enforce order of attributes
66
since: v4.3.0
77
---
88
# vue/attributes-order
9+
910
> enforce order of attributes
1011
1112
- :gear: This rule is included in `"plugin:vue/vue3-recommended"` and `"plugin:vue/recommended"`.
@@ -221,6 +222,10 @@ This rule aims to enforce ordering of component attributes. The default order is
221222
- [Style guide - Element attribute order](https://v3.vuejs.org/style-guide/#element-attribute-order-recommended)
222223
- [Style guide (for v2) - Element attribute order](https://vuejs.org/v2/style-guide/#Element-attribute-order-recommended)
223224

225+
## :rocket: Version
226+
227+
This rule was introduced in eslint-plugin-vue v4.3.0
228+
224229
## :mag: Implementation
225230

226231
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/attributes-order.js)

docs/rules/block-spacing.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: disallow or enforce spaces inside of blocks after opening block and
66
since: v5.2.0
77
---
88
# vue/block-spacing
9+
910
> disallow or enforce spaces inside of blocks after opening block and before closing block
1011
1112
- :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.
@@ -18,6 +19,10 @@ This rule is the same rule as core [block-spacing] rule but it applies to the ex
1819

1920
[block-spacing]: https://eslint.org/docs/rules/block-spacing
2021

22+
## :rocket: Version
23+
24+
This rule was introduced in eslint-plugin-vue v5.2.0
25+
2126
## :mag: Implementation
2227

2328
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/block-spacing.js)

docs/rules/block-tag-newline.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: enforce line breaks after opening and before closing block-level ta
66
since: v7.1.0
77
---
88
# vue/block-tag-newline
9+
910
> enforce line breaks after opening and before closing block-level tags
1011
1112
- :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.
@@ -156,6 +157,10 @@ export default {
156157

157158
</eslint-code-block>
158159

160+
## :rocket: Version
161+
162+
This rule was introduced in eslint-plugin-vue v7.1.0
163+
159164
## :mag: Implementation
160165

161166
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/block-tag-newline.js)

docs/rules/brace-style.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: enforce consistent brace style for blocks
66
since: v5.2.0
77
---
88
# vue/brace-style
9+
910
> enforce consistent brace style for blocks
1011
1112
- :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.
@@ -18,6 +19,10 @@ This rule is the same rule as core [brace-style] rule but it applies to the expr
1819

1920
[brace-style]: https://eslint.org/docs/rules/brace-style
2021

22+
## :rocket: Version
23+
24+
This rule was introduced in eslint-plugin-vue v5.2.0
25+
2126
## :mag: Implementation
2227

2328
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/brace-style.js)

docs/rules/camelcase.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: enforce camelcase naming convention
66
since: v5.2.0
77
---
88
# vue/camelcase
9+
910
> enforce camelcase naming convention
1011
1112
This rule is the same rule as core [camelcase] rule but it applies to the expressions in `<template>`.
@@ -16,6 +17,10 @@ This rule is the same rule as core [camelcase] rule but it applies to the expres
1617

1718
[camelcase]: https://eslint.org/docs/rules/camelcase
1819

20+
## :rocket: Version
21+
22+
This rule was introduced in eslint-plugin-vue v5.2.0
23+
1924
## :mag: Implementation
2025

2126
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/camelcase.js)

docs/rules/comma-dangle.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ description: require or disallow trailing commas
66
since: v5.2.0
77
---
88
# vue/comma-dangle
9+
910
> require or disallow trailing commas
1011
1112
- :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.
@@ -18,6 +19,10 @@ This rule is the same rule as core [comma-dangle] rule but it applies to the exp
1819

1920
[comma-dangle]: https://eslint.org/docs/rules/comma-dangle
2021

22+
## :rocket: Version
23+
24+
This rule was introduced in eslint-plugin-vue v5.2.0
25+
2126
## :mag: Implementation
2227

2328
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/comma-dangle.js)

0 commit comments

Comments
 (0)