You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: docs/rules/index.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -311,7 +311,7 @@ The following rules extend the rules provided by ESLint itself and apply them to
311
311
|[vue/dot-notation](./dot-notation.md)| Enforce dot notation whenever possible in `<template>`|:wrench:|:hammer:|
312
312
|[vue/eqeqeq](./eqeqeq.md)| Require the use of `===` and `!==` in `<template>`|:wrench:|:hammer:|
313
313
|[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:|
315
315
|[vue/keyword-spacing](./keyword-spacing.md)| Enforce consistent spacing before and after keywords in `<template>`|:wrench:|:lipstick:|
316
316
|[vue/max-len](./max-len.md)| enforce a maximum line length in `.vue` files ||:lipstick:|
317
317
|[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
330
330
|[vue/object-shorthand](./object-shorthand.md)| Require or disallow method and property shorthand syntax for object literals in `<template>`|:wrench:|:hammer:|
331
331
|[vue/operator-linebreak](./operator-linebreak.md)| Enforce consistent linebreak style for operators in `<template>`|:wrench:|:lipstick:|
332
332
|[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:|
334
334
|[vue/space-in-parens](./space-in-parens.md)| Enforce consistent spacing inside parentheses in `<template>`|:wrench:|:lipstick:|
335
335
|[vue/space-infix-ops](./space-infix-ops.md)| Require spacing around infix operators in `<template>`|:wrench:|:lipstick:|
336
336
|[vue/space-unary-ops](./space-unary-ops.md)| Enforce consistent spacing before or after unary operators in `<template>`|:wrench:|:lipstick:|
Copy file name to clipboardexpand all lines: docs/rules/key-spacing.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
pageClass: rule-details
3
3
sidebarDepth: 0
4
4
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>`
6
6
since: v5.2.0
7
7
---
8
8
9
9
# vue/key-spacing
10
10
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>`
12
12
13
13
-: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.
Copy file name to clipboardexpand all lines: docs/rules/quote-props.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -2,13 +2,13 @@
2
2
pageClass: rule-details
3
3
sidebarDepth: 0
4
4
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>`
6
6
since: v8.4.0
7
7
---
8
8
9
9
# vue/quote-props
10
10
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>`
12
12
13
13
-: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.
0 commit comments