Skip to content

Commit 3b5b127

Browse files
committed
8.0.0
1 parent 4ade913 commit 3b5b127

5 files changed

+18
-7
lines changed

docs/rules/first-attribute-linebreak.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/first-attribute-linebreak
55
description: enforce the location of first attribute
6+
since: v8.0.0
67
---
78
# vue/first-attribute-linebreak
89

910
> enforce the location of first attribute
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1212
- :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"`.
1313
- :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.
1414

@@ -158,6 +158,10 @@ This rule aims to enforce a consistent location for the first attribute.
158158

159159
- [Style guide - Multi attribute elements](https://v3.vuejs.org/style-guide/#multi-attribute-elements-strongly-recommended)
160160

161+
## :rocket: Version
162+
163+
This rule was introduced in eslint-plugin-vue v8.0.0
164+
161165
## :mag: Implementation
162166

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

docs/rules/multi-word-component-names.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ export default {
9090

9191
### `ignores: ["Todo"]`
9292

93-
<eslint-code-block fix :rules="{'vue/multi-word-component-names': ['error', {ignores: ['Todo']}]}">
93+
<eslint-code-block :rules="{'vue/multi-word-component-names': ['error', {ignores: ['Todo']}]}">
9494

9595
```vue
9696
<script>
@@ -103,7 +103,7 @@ export default {
103103

104104
</eslint-code-block>
105105

106-
<eslint-code-block fix :rules="{'vue/multi-word-component-names': ['error', {ignores: ['Todo']}]}">
106+
<eslint-code-block :rules="{'vue/multi-word-component-names': ['error', {ignores: ['Todo']}]}">
107107

108108
```vue
109109
<script>

docs/rules/no-loss-of-precision.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-loss-of-precision
55
description: disallow literal numbers that lose precision
6+
since: v8.0.0
67
---
78
# vue/no-loss-of-precision
89

910
> disallow literal numbers that lose precision
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
12-
1312
This rule is the same rule as core [no-loss-of-precision] rule but it applies to the expressions in `<template>`.
1413

1514
:::warning
@@ -22,6 +21,10 @@ You must be using ESLint v7.1.0 or later to use this rule.
2221

2322
[no-loss-of-precision]: https://eslint.org/docs/rules/no-loss-of-precision
2423

24+
## :rocket: Version
25+
26+
This rule was introduced in eslint-plugin-vue v8.0.0
27+
2528
## :mag: Implementation
2629

2730
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-loss-of-precision.js)

docs/rules/no-reserved-props.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-reserved-props
55
description: disallow reserved names in props
6+
since: v8.0.0
67
---
78
# vue/no-reserved-props
89

910
> disallow reserved names in props
1011
11-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1212
- :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"`.
1313

1414
## :book: Rule Details
@@ -46,6 +46,10 @@ export default {
4646

4747
- `vueVersion` (`2 | 3`) ... Specify the version of Vue you are using. Default is `3`.
4848

49+
## :rocket: Version
50+
51+
This rule was introduced in eslint-plugin-vue v8.0.0
52+
4953
## :mag: Implementation
5054

5155
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-reserved-props.js)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-plugin-vue",
3-
"version": "7.20.0",
3+
"version": "8.0.0",
44
"description": "Official ESLint plugin for Vue.js",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)