Skip to content

Commit d77fbf7

Browse files
committed
9.28.0
1 parent 889c192 commit d77fbf7

7 files changed

+22
-13
lines changed

docs/rules/index.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ The following rules extend the rules provided by ESLint itself and apply them to
311311
| [vue/dot-notation](./dot-notation.md) | Enforce dot notation whenever possible in `<template>` | :wrench: | :hammer: |
312312
| [vue/eqeqeq](./eqeqeq.md) | Require the use of `===` and `!==` in `<template>` | :wrench: | :hammer: |
313313
| [vue/func-call-spacing](./func-call-spacing.md) | Require or disallow spacing between function identifiers and their invocations in `<template>` | :wrench: | :lipstick: |
314-
| [vue/key-spacing](./key-spacing.md) | Enforce consistent spacing between keys and values in object literal properties in `<template>` | :wrench: | :lipstick: |
314+
| [vue/key-spacing](./key-spacing.md) | Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>` | :wrench: | :lipstick: |
315315
| [vue/keyword-spacing](./keyword-spacing.md) | Enforce consistent spacing before and after keywords in `<template>` | :wrench: | :lipstick: |
316316
| [vue/max-len](./max-len.md) | enforce a maximum line length in `.vue` files | | :lipstick: |
317317
| [vue/multiline-ternary](./multiline-ternary.md) | Enforce newlines between operands of ternary expressions in `<template>` | :wrench: | :lipstick: |
@@ -330,7 +330,7 @@ The following rules extend the rules provided by ESLint itself and apply them to
330330
| [vue/object-shorthand](./object-shorthand.md) | Require or disallow method and property shorthand syntax for object literals in `<template>` | :wrench: | :hammer: |
331331
| [vue/operator-linebreak](./operator-linebreak.md) | Enforce consistent linebreak style for operators in `<template>` | :wrench: | :lipstick: |
332332
| [vue/prefer-template](./prefer-template.md) | Require template literals instead of string concatenation in `<template>` | :wrench: | :hammer: |
333-
| [vue/quote-props](./quote-props.md) | Require quotes around object literal property names in `<template>` | :wrench: | :lipstick: |
333+
| [vue/quote-props](./quote-props.md) | Require quotes around object literal, type literal, interfaces and enums property names in `<template>` | :wrench: | :lipstick: |
334334
| [vue/space-in-parens](./space-in-parens.md) | Enforce consistent spacing inside parentheses in `<template>` | :wrench: | :lipstick: |
335335
| [vue/space-infix-ops](./space-infix-ops.md) | Require spacing around infix operators in `<template>` | :wrench: | :lipstick: |
336336
| [vue/space-unary-ops](./space-unary-ops.md) | Enforce consistent spacing before or after unary operators in `<template>` | :wrench: | :lipstick: |

docs/rules/key-spacing.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/key-spacing
5-
description: Enforce consistent spacing between keys and values in object literal properties in `<template>`
5+
description: Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
66
since: v5.2.0
77
---
88

99
# vue/key-spacing
1010

11-
> Enforce consistent spacing between keys and values in object literal properties in `<template>`
11+
> Enforce consistent spacing between property names and type annotations in types and interfaces in `<template>`
1212
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

docs/rules/max-props.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/max-props
55
description: enforce maximum number of props in Vue component
6+
since: v9.28.0
67
---
78

89
# vue/max-props
910

1011
> enforce maximum number of props in Vue component
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> _**This rule has not been released yet.**_ </badge>
13-
1413
## :book: Rule Details
1514

1615
This rule enforces a maximum number of props in a Vue SFC, in order to aid in maintainability and reduce complexity.
@@ -56,6 +55,10 @@ defineProps({
5655

5756
</eslint-code-block>
5857

58+
## :rocket: Version
59+
60+
This rule was introduced in eslint-plugin-vue v9.28.0
61+
5962
## :mag: Implementation
6063

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

docs/rules/max-template-depth.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/max-template-depth
55
description: enforce maximum depth of template
6+
since: v9.28.0
67
---
78

89
# vue/max-template-depth
910

1011
> enforce maximum depth of template
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> _**This rule has not been released yet.**_ </badge>
13-
1413
## :book: Rule Details
1514

1615
This rule enforces a maximum depth of the template in a Vue SFC, in order to aid in maintainability and reduce complexity.
@@ -61,6 +60,10 @@ There is one property that can be specified for the object.
6160

6261
</eslint-code-block>
6362

63+
## :rocket: Version
64+
65+
This rule was introduced in eslint-plugin-vue v9.28.0
66+
6467
## :mag: Implementation
6568

6669
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/max-template-depth.js)

docs/rules/quote-props.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,13 @@
22
pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/quote-props
5-
description: Require quotes around object literal property names in `<template>`
5+
description: Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
66
since: v8.4.0
77
---
88

99
# vue/quote-props
1010

11-
> Require quotes around object literal property names in `<template>`
11+
> Require quotes around object literal, type literal, interfaces and enums property names in `<template>`
1212
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

docs/rules/require-default-export.md

+5-2
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,13 @@ pageClass: rule-details
33
sidebarDepth: 0
44
title: vue/require-default-export
55
description: require components to be the default export
6+
since: v9.28.0
67
---
78

89
# vue/require-default-export
910

1011
> require components to be the default export
1112
12-
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> _**This rule has not been released yet.**_ </badge>
13-
1413
## :book: Rule Details
1514

1615
This rule reports when a Vue component does not have a default export, if the component is not defined as `<script setup>`.
@@ -51,6 +50,10 @@ Nothing.
5150

5251
- [vue/one-component-per-file](./one-component-per-file.md)
5352

53+
## :rocket: Version
54+
55+
This rule was introduced in eslint-plugin-vue v9.28.0
56+
5457
## :mag: Implementation
5558

5659
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/require-default-export.js)

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.27.0",
3+
"version": "9.28.0",
44
"description": "Official ESLint plugin for Vue.js",
55
"main": "lib/index.js",
66
"scripts": {

0 commit comments

Comments
 (0)