Skip to content

Commit

Permalink
fix(vue3): align rules with Vue 2 rules
Browse files Browse the repository at this point in the history
Signed-off-by: Grigorii K. Shartsev <me@shgk.me>
  • Loading branch information
ShGKme committed May 16, 2024
1 parent 10ff104 commit 06bfbf4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions parts/vue3.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ module.exports = {
// See https://vuejs.org/style-guide/rules-strongly-recommended.html#multi-attribute-elements
'vue/first-attribute-linebreak': ['error', {
singleline: 'beside',
multiline: 'below',
multiline: 'beside',
}],
// Prevent conflicts with native HTML elements
'vue/multi-word-component-names': 'error',
// Allow single-word components names
'vue/multi-word-component-names': ['off'],
// custom event naming convention
'vue/custom-event-name-casing': 'warning',
},
Expand Down

0 comments on commit 06bfbf4

Please sign in to comment.