Skip to content

Commit 1a351a8

Browse files
committed
update comment
1 parent eb2708c commit 1a351a8

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

lib/rules/html-quotes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ module.exports = {
5252
}
5353

5454
if (utils.isVBindSameNameShorthand(node)) {
55-
// v-bind same-name shorthand (in Vue 3.4)
55+
// v-bind same-name shorthand (Vue 3.4+)
5656
return
5757
}
5858

tests/lib/rules/html-quotes.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ tester.run('html-quotes', rule, {
5858
code: '<template><div attr="foo\'bar"></div></template>',
5959
options: ['single', { avoidEscape: true }]
6060
},
61-
// v-bind same-name shorthand (in Vue 3.4)
61+
// v-bind same-name shorthand (Vue 3.4+)
6262
{
6363
code: '<template><div :foo /></template>',
6464
options: ['double']

tests/lib/rules/v-bind-style.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ tester.run('v-bind-style', rule, {
107107
options: ['longform'],
108108
errors: ["Expected 'v-bind:' instead of '.'."]
109109
},
110-
// v-bind same-name shorthand (in Vue 3.4)
110+
// v-bind same-name shorthand (Vue 3.4+)
111111
{
112112
filename: 'test.vue',
113113
code: '<template><div v-bind:foo /></template>',

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ tester.run('valid-v-bind', rule, {
7171
filename: 'test.vue',
7272
code: "<template><input v-bind='$attrs' /></template>"
7373
},
74-
// v-bind same-name shorthand (in Vue 3.4)
74+
// v-bind same-name shorthand (Vue 3.4+)
7575
{
7676
filename: 'test.vue',
7777
code: '<template><div :foo /></template>'

0 commit comments

Comments
 (0)