Skip to content

Commit 1437921

Browse files
committed
9.19.0
1 parent 2f65e92 commit 1437921

7 files changed

+14
-11
lines changed

docs/rules/index.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ The following rules extend the rules provided by ESLint itself and apply them to
309309
| [vue/keyword-spacing](./keyword-spacing.md) | Enforce consistent spacing before and after keywords in `<template>` | :wrench: | :lipstick: |
310310
| [vue/max-len](./max-len.md) | enforce a maximum line length in `.vue` files | | :lipstick: |
311311
| [vue/multiline-ternary](./multiline-ternary.md) | Enforce newlines between operands of ternary expressions in `<template>` | :wrench: | :lipstick: |
312-
| [vue/no-console](./no-console.md) | Disallow the use of `console` in `<template>` | :bulb: | :hammer: |
312+
| [vue/no-console](./no-console.md) | Disallow the use of `console` in `<template>` | | :hammer: |
313313
| [vue/no-constant-condition](./no-constant-condition.md) | Disallow constant expressions in conditions in `<template>` | | :warning: |
314314
| [vue/no-empty-pattern](./no-empty-pattern.md) | Disallow empty destructuring patterns in `<template>` | | :warning: |
315315
| [vue/no-extra-parens](./no-extra-parens.md) | Disallow unnecessary parentheses in `<template>` | :wrench: | :lipstick: |

docs/rules/no-console.md

-2
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,6 @@ since: v9.15.0
99

1010
> Disallow the use of `console` in `<template>`
1111
12-
- :bulb: Some problems reported by this rule are manually fixable by editor [suggestions](https://eslint.org/docs/developer-guide/working-with-rules#providing-suggestions).
13-
1412
## :book: Rule Details
1513

1614
This rule is the same rule as core [no-console] rule but it applies to the expressions in `<template>`.

docs/rules/no-unused-emit-declarations.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/no-unused-emit-declarations
55
description: disallow unused emit declarations
6+
since: v9.19.0
67
---
78
# vue/no-unused-emit-declarations
89

910
> disallow unused emit declarations
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
## :book: Rule Details
1413

1514
This rule is aimed at eliminating unused emit declarations.
@@ -53,6 +52,10 @@ Nothing.
5352

5453
- [vue/require-explicit-emits](./require-explicit-emits.md)
5554

55+
## :rocket: Version
56+
57+
This rule was introduced in eslint-plugin-vue v9.19.0
58+
5659
## :mag: Implementation
5760

5861
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-unused-emit-declarations.js)

docs/rules/require-v-for-key.md

-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ title: vue/require-v-for-key
55
description: require `v-bind:key` with `v-for` directives
66
since: v3.0.0
77
---
8-
98
# vue/require-v-for-key
109

1110
> require `v-bind:key` with `v-for` directives

docs/rules/v-if-else-key.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,12 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/v-if-else-key
55
description: require key attribute for conditionally rendered repeated components
6+
since: v9.19.0
67
---
7-
88
# vue/v-if-else-key
99

1010
> require key attribute for conditionally rendered repeated components
1111
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>
1312
- :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.
1413

1514
## :book: Rule Details
@@ -50,6 +49,10 @@ Nothing.
5049

5150
- [Guide (for v2) - v-if without key](https://v2.vuejs.org/v2/style-guide/#v-if-v-else-if-v-else-without-key-use-with-caution)
5251

52+
## :rocket: Version
53+
54+
This rule was introduced in eslint-plugin-vue v9.19.0
55+
5356
## :mag: Implementation
5457

5558
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/v-if-else-key.js)

lib/utils/vue3-export-names.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,8 @@
138138
"provide",
139139
"inject",
140140
"hasInjectionContext",
141+
"DefineComponent",
142+
"defineComponent",
141143
"App",
142144
"OptionMergeFunction",
143145
"AppConfig",
@@ -194,8 +196,6 @@
194196
"watchPostEffect",
195197
"watchSyncEffect",
196198
"watch",
197-
"DefineComponent",
198-
"defineComponent",
199199
"AsyncComponentLoader",
200200
"AsyncComponentOptions",
201201
"defineAsyncComponent",

package.json

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

0 commit comments

Comments
 (0)