Skip to content

Commit e0712b8

Browse files
committed
Deprecate vue/valid-v-bind-sync
1 parent be4bd51 commit e0712b8

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

docs/rules/index.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ Rules in this category are enabled for all presets provided by eslint-plugin-vue
113113
| [vue/valid-model-definition] | require valid keys in model option | :no_entry_sign: | :two::warning: |
114114
| [vue/valid-next-tick] | enforce valid `nextTick` function calls | :wrench::bulb: | :three::two::warning: |
115115
| [vue/valid-template-root] | enforce valid template root | | :three::two::warning: |
116-
| [vue/valid-v-bind-sync] | enforce valid `.sync` modifier on `v-bind` directives | | :two::warning: |
116+
| [vue/valid-v-bind-sync] | enforce valid `.sync` modifier on `v-bind` directives | :no_entry_sign: | :two::warning: |
117117
| [vue/valid-v-bind] | enforce valid `v-bind` directives | | :three::two::warning: |
118118
| [vue/valid-v-cloak] | enforce valid `v-cloak` directives | | :three::two::warning: |
119119
| [vue/valid-v-else-if] | enforce valid `v-else-if` directives | | :three::two::warning: |
@@ -352,6 +352,7 @@ The following rules extend the rules provided by ESLint itself and apply them to
352352
| [vue/no-v-for-template-key] | (no replacement) |
353353
| [vue/no-v-model-argument] | (no replacement) |
354354
| [vue/valid-model-definition] | (no replacement) |
355+
| [vue/valid-v-bind-sync] | (no replacement) |
355356

356357
## Removed
357358

docs/rules/valid-v-bind-sync.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ since: v7.0.0
1010

1111
> enforce valid `.sync` modifier on `v-bind` directives
1212
13+
- :no_entry_sign: This rule was **deprecated**.
1314
- :gear: This rule is included in all of `"plugin:vue/vue2-essential"`, `*.configs["flat/vue2-essential"]`, `"plugin:vue/vue2-strongly-recommended"`, `*.configs["flat/vue2-strongly-recommended"]`, `"plugin:vue/vue2-recommended"` and `*.configs["flat/vue2-recommended"]`.
1415

1516
This rule checks whether every `.sync` modifier on `v-bind` directives is valid.

lib/rules/valid-v-bind-sync.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@ module.exports = {
7979
url: 'https://eslint.vuejs.org/rules/valid-v-bind-sync.html'
8080
},
8181
fixable: null,
82+
deprecated: true,
8283
schema: [],
8384
messages: {
8485
unexpectedInvalidElement:

0 commit comments

Comments
 (0)