Skip to content

Commit 06bfbf4

Browse files
committed
fix(vue3): align rules with Vue 2 rules
Signed-off-by: Grigorii K. Shartsev <[email protected]>
1 parent 10ff104 commit 06bfbf4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

parts/vue3.js

Lines changed: 3 additions & 3 deletions
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)