File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 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:
1818- The directive has that argument. E.g. ` <div v-if="foo"></div><div v-else:aaa></div> `
1919- The directive has that modifier. E.g. ` <div v-if="foo"></div><div v-else.bbb></div> `
2020- 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> `
2323
2424<eslint-code-block :rules =" {'vue/valid-v-else': ['error']} " >
2525
You can’t perform that action at this time.
0 commit comments