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
+6-3
Original file line number
Diff line number
Diff line change
@@ -87,7 +87,7 @@ Rules in this category are enabled for all presets provided by eslint-plugin-vue
87
87
|[vue/no-unused-components](./no-unused-components.md)| disallow registering components that are not used inside templates ||:three::two::hammer:|
88
88
|[vue/no-unused-vars](./no-unused-vars.md)| disallow unused variable definitions of v-for directives or scope attributes |:bulb:|:three::two::hammer:|
89
89
|[vue/no-use-computed-property-like-method](./no-use-computed-property-like-method.md)| disallow use computed property like method ||:three::two::warning:|
90
-
|[vue/no-use-v-if-with-v-for](./no-use-v-if-with-v-for.md)| disallow use v-if on the same element as v-for ||:three::two::hammer:|
90
+
|[vue/no-use-v-if-with-v-for](./no-use-v-if-with-v-for.md)| disallow using `v-if` on the same element as `v-for`||:three::two::hammer:|
91
91
|[vue/no-useless-template-attributes](./no-useless-template-attributes.md)| disallow useless attribute on `<template>`||:three::two::warning:|
92
92
|[vue/no-v-for-template-key-on-child](./no-v-for-template-key-on-child.md)| disallow key of `<template v-for>` placed on child elements ||:three::warning:|
93
93
|[vue/no-v-for-template-key](./no-v-for-template-key.md)| disallow `key` attribute on `<template v-for>`||:two::warning:|
@@ -226,6 +226,7 @@ For example:
226
226
|[vue/next-tick-style](./next-tick-style.md)| enforce Promise or callback style in `nextTick`|:wrench:|:hammer:|
227
227
|[vue/no-bare-strings-in-template](./no-bare-strings-in-template.md)| disallow the use of bare strings in `<template>`||:hammer:|
|[vue/no-deprecated-model-definition](./no-deprecated-model-definition.md)| disallow deprecated `model` definition (in Vue.js 3.0.0+) |:bulb:|:warning:|
229
230
|[vue/no-duplicate-attr-inheritance](./no-duplicate-attr-inheritance.md)| enforce `inheritAttrs` to be set to `false` when using `v-bind="$attrs"`||:hammer:|
230
231
|[vue/no-empty-component-block](./no-empty-component-block.md)| disallow the `<template>``<script>``<style>` block to be empty ||:hammer:|
231
232
|[vue/no-multiple-objects-in-class](./no-multiple-objects-in-class.md)| disallow to pass multiple objects into array to class ||:hammer:|
@@ -251,6 +252,7 @@ For example:
251
252
|[vue/no-unsupported-features](./no-unsupported-features.md)| disallow unsupported Vue.js syntax on the specified version |:wrench:|:hammer:|
Copy file name to clipboardExpand all lines: docs/rules/name-property-casing.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -9,7 +9,7 @@ since: v3.8.0
9
9
10
10
> enforce specific casing for the name property in Vue components
11
11
12
-
-:no_entry_sign: This rule was **removed** in eslint-plugin-vue v9.0.0 and replaced by [vue/component-definition-name-casing](component-definition-name-casing.md) rule.
12
+
-:no_entry: This rule was **removed** in eslint-plugin-vue v9.0.0 and replaced by [vue/component-definition-name-casing](component-definition-name-casing.md) rule.
description: disallow deprecated `model` definition (in Vue.js 3.0.0+)
6
+
---
7
+
# vue/no-deprecated-model-definition
8
+
9
+
> disallow deprecated `model` definition (in Vue.js 3.0.0+)
10
+
11
+
-:exclamation: <badgetext="This rule has not been released yet."vertical="middle"type="error"> ***This rule has not been released yet.*** </badge>
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
+
14
+
## :book: Rule Details
15
+
16
+
This rule reports use of the component `model` option, which has been deprecated in Vue.js 3.0.0+.
17
+
18
+
See [Migration Guide – `v-model`](https://v3-migration.vuejs.org/breaking-changes/v-model.html) for more details.
0 commit comments