--- pageClass: rule-details sidebarDepth: 0 title: vue/valid-v-bind-sync description: enforce valid `.sync` modifier on `v-bind` directives since: v7.0.0 --- # vue/valid-v-bind-sync > enforce valid `.sync` modifier on `v-bind` directives - :no_entry: This rule was **removed** in eslint-plugin-vue v11.0.0. This rule checks whether every `.sync` modifier on `v-bind` directives is valid. ## :book: Rule Details This rule reports `.sync` modifier on `v-bind` directives in the following cases: - The `.sync` modifier does not have the attribute value which is valid as LHS. E.g. ``, `` - The `.sync` modifier has potential null object property access. E.g. `` - The `.sync` modifier is on non Vue-components. E.g. `` - The `.sync` modifier's reference is iteration variables. E.g. `
` ```vue ``` ::: warning Note This rule does not check syntax errors in directives because it's checked by [vue/no-parsing-error] rule. ::: ## :wrench: Options Nothing. ## :couple: Related Rules - [vue/no-parsing-error] [vue/no-parsing-error]: ./no-parsing-error.md ## :books: Further Reading ## :rocket: Version This rule was introduced in eslint-plugin-vue v7.0.0 ## :mag: Implementation - [Rule source](https://github.com/sxzz/eslint-plugin-vuekit/blob/main/lib/rules/valid-v-bind-sync.js) - [Test source](https://github.com/sxzz/eslint-plugin-vuekit/blob/main/tests/lib/rules/valid-v-bind-sync.test.ts)