# valid-v-bind-sync

Rule `vue/valid-v-bind-sync`. Enforce valid `.sync` modifier on `v-bind` directives

- Source: vue
- Technologies: Vue
- Kind: correctness
- Needs type information: no
- Autofix: no
- Deprecated: yes
- Reach: 0 weekly downloads of presets that enable it
- Trend: 0% last quarter
- Rank: #2091 by reach

## Linters

| Linter | Rule name | Recommended | Autofix | Details | Docs |
| --- | --- | --- | --- | --- | --- |
| ESLint | `vue/valid-v-bind-sync` | no | no | package `eslint-plugin-vue` | [docs](https://eslint.vuejs.org/rules/valid-v-bind-sync.html) |

## Code examples

### Incorrect: the rule reports this

```vue
  <MyComponent v-bind:aaa.sync="foo + bar" />
  <MyComponent :aaa.sync="foo + bar" />

  <MyComponent :aaa.sync="a?.b.c" />
  <MyComponent :aaa.sync="(a?.b).c" />

  <input v-bind:aaa.sync="foo" />
  <input :aaa.sync="foo" />

  <div v-for="todo in todos">
    <MyComponent v-bind:aaa.sync="todo" />
    <MyComponent :aaa.sync="todo" />
  </div>
</template>
```

### Correct: the rule accepts this

```vue
<MyComponent v-bind:aaa.sync="foo" />
<MyComponent :aaa.sync="foo" />

<div v-for="todo in todos">
  <MyComponent v-bind:aaa.sync="todo.name" />
  <MyComponent :aaa.sync="todo.name" />
</div>
```

Examples from the ESLint documentation.

## Enable it

### ESLint: `eslint.config.js`

```js
import vue from "eslint-plugin-vue";

export default [
  {
    plugins: { vue },
    rules: {
      "vue/valid-v-bind-sync": "error",
    },
  },
];
```

## Related rules

- [vue/v-if-else-key](https://lintradar.dev/rules/vue/v-if-else-key.md): Require key attribute for conditionally rendered repeated components
- [vue/static-class-names-order](https://lintradar.dev/rules/vue/static-class-names-order.md): Enforce static class names order
- [vue/sort-keys](https://lintradar.dev/rules/vue/sort-keys.md): Enforce sort-keys in a manner that is compatible with order-in-components
- [vue/script-indent](https://lintradar.dev/rules/vue/script-indent.md): Enforce consistent indentation in `<script>`
- [vue/restricted-component-names](https://lintradar.dev/rules/vue/restricted-component-names.md): Enforce using only specific component names
- [vue/require-prop-comment](https://lintradar.dev/rules/vue/require-prop-comment.md): Require props to have a comment

---

Web page: https://lintradar.dev/rules/vue/valid-v-bind-sync. Data from npm and the linters' documentation, collected Dec 4, 2026. Site guide for agents: https://lintradar.dev/llms.txt
