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
* feat(RFC0005): allow v-model argument when v-model is used on custom component
* feat(RFC0005): add no-v-model-argument rule which disallows v-model arguments.
Vue 2 compatibility rule
* feat(RFC0005): add no-deprecated-v-bind-sync rule
* feat(RFC0005): provide autofix fix for deprecated v-bind.prop.sync modifier
* feat(RFC0011): add support for custom modifiers in valid-v-model used on Vue component
* feat(RFC0011): add vue/no-custom-modifiers-on-v-model rule which checks if v-model has not allowed modifiers (Vue 2 backward compatibility)
Copy file name to clipboardExpand all lines: docs/rules/README.md
+3
Original file line number
Diff line number
Diff line change
@@ -39,6 +39,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
39
39
| Rule ID | Description ||
40
40
|:--------|:------------|:---|
41
41
|[vue/no-async-in-computed-properties](./no-async-in-computed-properties.md)| disallow asynchronous actions in computed properties ||
42
+
|[vue/no-custom-modifiers-on-v-model](./no-custom-modifiers-on-v-model.md)| disallow custom modifiers on v-model used on the component ||
42
43
|[vue/no-dupe-keys](./no-dupe-keys.md)| disallow duplication of field names ||
43
44
|[vue/no-duplicate-attributes](./no-duplicate-attributes.md)| disallow duplication of attributes ||
44
45
|[vue/no-multiple-template-root](./no-multiple-template-root.md)| disallow adding multiple root nodes to the template ||
@@ -51,6 +52,7 @@ Enforce all the rules in this category, as well as all higher priority rules, wi
51
52
|[vue/no-unused-components](./no-unused-components.md)| disallow registering components that are not used inside templates ||
52
53
|[vue/no-unused-vars](./no-unused-vars.md)| disallow unused variable definitions of v-for directives or scope attributes ||
53
54
|[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 ||
55
+
|[vue/no-v-model-argument](./no-v-model-argument.md)| disallow adding an argument to `v-model` used in custom component ||
54
56
|[vue/require-component-is](./require-component-is.md)| require `v-bind:is` of `<component>` elements ||
55
57
|[vue/require-prop-type-constructor](./require-prop-type-constructor.md)| require prop type to be a constructor |:wrench:|
56
58
|[vue/require-render-return](./require-render-return.md)| enforce render function to always return value ||
@@ -161,6 +163,7 @@ For example:
161
163
|[vue/no-deprecated-scope-attribute](./no-deprecated-scope-attribute.md)| disallow deprecated `scope` attribute (in Vue.js 2.5.0+) |:wrench:|
162
164
|[vue/no-deprecated-slot-attribute](./no-deprecated-slot-attribute.md)| disallow deprecated `slot` attribute (in Vue.js 2.6.0+) |:wrench:|
163
165
|[vue/no-deprecated-slot-scope-attribute](./no-deprecated-slot-scope-attribute.md)| disallow deprecated `slot-scope` attribute (in Vue.js 2.6.0+) |:wrench:|
166
+
|[vue/no-deprecated-v-bind-sync](./no-deprecated-v-bind-sync.md)| disallow use of deprecated `.sync` modifier on `v-bind` directive (in Vue.js 3.0.0+) |:wrench:|
description: disallow use of deprecated `.sync` modifier on `v-bind` directive (in Vue.js 3.0.0+)
6
+
---
7
+
# vue/no-deprecated-v-bind-sync
8
+
> disallow use of deprecated `.sync` modifier on `v-bind` directive (in Vue.js 3.0.0+)
9
+
10
+
-: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.
11
+
12
+
## :book: Rule Details
13
+
14
+
This rule reports use of deprecated `.sync` modifier on `v-bind` directive (in Vue.js 3.0.0+)
0 commit comments