File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ This rule reports `v-else` directives in the following cases:
18
18
- The directive has that argument. E.g. ` <div v-if="foo"></div><div v-else:aaa></div> `
19
19
- The directive has that modifier. E.g. ` <div v-if="foo"></div><div v-else.bbb></div> `
20
20
- The directive has that attribute value. E.g. ` <div v-if="foo"></div><div v-else="bar"></div> `
21
- - The directive is on the elements that the previous element don't have ` v-if ` /` v-if- else ` directives. E.g. ` <div v-else></div> `
22
- - The directive is on the elements which have ` v-if ` /` v-if- else ` directives. E.g. ` <div v-if="foo" v-else></div> `
21
+ - The directive is on the elements that the previous element don't have ` v-if ` /` v-else-if ` directives. E.g. ` <div v-else></div> `
22
+ - The directive is on the elements which have ` v-if ` /` v-else-if ` directives. E.g. ` <div v-if="foo" v-else></div> `
23
23
24
24
<eslint-code-block :rules =" {'vue/valid-v-else': ['error']} " >
25
25
You can’t perform that action at this time.
0 commit comments