Skip to content

Commit 049cd90

Browse files
authored
Merge pull request #771 from nextcloud-libraries/fix/vue3-less-diff-with-vue2
fix(vue3): align rules with Vue 2 rules
2 parents 10ff104 + 06bfbf4 commit 049cd90

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parts/vue3.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ module.exports = {
2929
// See https://vuejs.org/style-guide/rules-strongly-recommended.html#multi-attribute-elements
3030
'vue/first-attribute-linebreak': ['error', {
3131
singleline: 'beside',
32-
multiline: 'below',
32+
multiline: 'beside',
3333
}],
34-
// Prevent conflicts with native HTML elements
35-
'vue/multi-word-component-names': 'error',
34+
// Allow single-word components names
35+
'vue/multi-word-component-names': ['off'],
3636
// custom event naming convention
3737
'vue/custom-event-name-casing': 'warning',
3838
},

0 commit comments

Comments
 (0)