Skip to content

Commit

Permalink
9.19.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 30, 2023
1 parent 2f65e92 commit 1437921
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 11 deletions.
2 changes: 1 addition & 1 deletion docs/rules/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -309,7 +309,7 @@ The following rules extend the rules provided by ESLint itself and apply them to
| [vue/keyword-spacing](./keyword-spacing.md) | Enforce consistent spacing before and after keywords in `<template>` | :wrench: | :lipstick: |
| [vue/max-len](./max-len.md) | enforce a maximum line length in `.vue` files | | :lipstick: |
| [vue/multiline-ternary](./multiline-ternary.md) | Enforce newlines between operands of ternary expressions in `<template>` | :wrench: | :lipstick: |
| [vue/no-console](./no-console.md) | Disallow the use of `console` in `<template>` | :bulb: | :hammer: |
| [vue/no-console](./no-console.md) | Disallow the use of `console` in `<template>` | | :hammer: |
| [vue/no-constant-condition](./no-constant-condition.md) | Disallow constant expressions in conditions in `<template>` | | :warning: |
| [vue/no-empty-pattern](./no-empty-pattern.md) | Disallow empty destructuring patterns in `<template>` | | :warning: |
| [vue/no-extra-parens](./no-extra-parens.md) | Disallow unnecessary parentheses in `<template>` | :wrench: | :lipstick: |
Expand Down
2 changes: 0 additions & 2 deletions docs/rules/no-console.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@ since: v9.15.0

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

## :book: Rule Details

This rule is the same rule as core [no-console] rule but it applies to the expressions in `<template>`.
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/no-unused-emit-declarations.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/no-unused-emit-declarations
description: disallow unused emit declarations
since: v9.19.0
---
# vue/no-unused-emit-declarations

> disallow unused emit declarations
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> ***This rule has not been released yet.*** </badge>

## :book: Rule Details

This rule is aimed at eliminating unused emit declarations.
Expand Down Expand Up @@ -53,6 +52,10 @@ Nothing.

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

## :rocket: Version

This rule was introduced in eslint-plugin-vue v9.19.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-unused-emit-declarations.js)
Expand Down
1 change: 0 additions & 1 deletion docs/rules/require-v-for-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ title: vue/require-v-for-key
description: require `v-bind:key` with `v-for` directives
since: v3.0.0
---

# vue/require-v-for-key

> require `v-bind:key` with `v-for` directives
Expand Down
7 changes: 5 additions & 2 deletions docs/rules/v-if-else-key.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,12 @@ pageClass: rule-details
sidebarDepth: 0
title: vue/v-if-else-key
description: require key attribute for conditionally rendered repeated components
since: v9.19.0
---

# vue/v-if-else-key

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

## :book: Rule Details
Expand Down Expand Up @@ -50,6 +49,10 @@ Nothing.

- [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)

## :rocket: Version

This rule was introduced in eslint-plugin-vue v9.19.0

## :mag: Implementation

- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/v-if-else-key.js)
Expand Down
4 changes: 2 additions & 2 deletions lib/utils/vue3-export-names.json
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,8 @@
"provide",
"inject",
"hasInjectionContext",
"DefineComponent",
"defineComponent",
"App",
"OptionMergeFunction",
"AppConfig",
Expand Down Expand Up @@ -194,8 +196,6 @@
"watchPostEffect",
"watchSyncEffect",
"watch",
"DefineComponent",
"defineComponent",
"AsyncComponentLoader",
"AsyncComponentOptions",
"defineAsyncComponent",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-plugin-vue",
"version": "9.18.1",
"version": "9.19.0",
"description": "Official ESLint plugin for Vue.js",
"main": "lib/index.js",
"scripts": {
Expand Down

0 comments on commit 1437921

Please sign in to comment.