Skip to content

Commit b1fa3b9

Browse files
authored
Update vue/no-implicit-coercion rule docs (#2671)
1 parent 99bbe07 commit b1fa3b9

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

docs/rules/index.md

+2
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@ The following rules extend the rules provided by ESLint itself and apply them to
323323
| [vue/no-constant-condition] | Disallow constant expressions in conditions in `<template>` | | :warning: |
324324
| [vue/no-empty-pattern] | Disallow empty destructuring patterns in `<template>` | | :warning: |
325325
| [vue/no-extra-parens] | Disallow unnecessary parentheses in `<template>` | :wrench: | :lipstick: |
326+
| [vue/no-implicit-coercion] | Disallow shorthand type conversions in `<template>` | :wrench: | :hammer: |
326327
| [vue/no-irregular-whitespace] | disallow irregular whitespace in `.vue` files | | :warning: |
327328
| [vue/no-loss-of-precision] | Disallow literal numbers that lose precision in `<template>` | | :warning: |
328329
| [vue/no-restricted-syntax] | Disallow specified syntax in `<template>` | | :hammer: |
@@ -465,6 +466,7 @@ The following rules extend the rules provided by ESLint itself and apply them to
465466
[vue/no-export-in-script-setup]: ./no-export-in-script-setup.md
466467
[vue/no-expose-after-await]: ./no-expose-after-await.md
467468
[vue/no-extra-parens]: ./no-extra-parens.md
469+
[vue/no-implicit-coercion]: ./no-implicit-coercion.md
468470
[vue/no-invalid-model-keys]: ./no-invalid-model-keys.md
469471
[vue/no-irregular-whitespace]: ./no-irregular-whitespace.md
470472
[vue/no-lifecycle-after-await]: ./no-lifecycle-after-await.md

docs/rules/no-implicit-coercion.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@ description: Disallow shorthand type conversions in `<template>`
99

1010
> Disallow shorthand type conversions in `<template>`
1111
12-
- :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.
12+
- :exclamation: <badge text="This rule has not been released yet." vertical="middle" type="error"> _**This rule has not been released yet.**_ </badge>
13+
- :wrench: The `--fix` option on the [command line](https://eslint.org/docs/user-guide/command-line-interface#fix-problems) can automatically fix some of the problems reported by this rule.
1314

1415
This rule is the same rule as core [no-implicit-coercion] rule but it applies to the expressions in `<template>`.
1516

@@ -19,10 +20,6 @@ This rule is the same rule as core [no-implicit-coercion] rule but it applies to
1920

2021
[no-implicit-coercion]: https://eslint.org/docs/rules/no-implicit-coercion
2122

22-
## :rocket: Version
23-
24-
This rule was introduced in eslint-plugin-vue v9.33.0
25-
2623
## :mag: Implementation
2724

2825
- [Rule source](https://github.com/vuejs/eslint-plugin-vue/blob/master/lib/rules/no-implicit-coercion.js)

0 commit comments

Comments
 (0)