Skip to content

Commit

Permalink
Merge pull request #771 from nextcloud-libraries/fix/vue3-less-diff-w…
Browse files Browse the repository at this point in the history
…ith-vue2

fix(vue3): align rules with Vue 2 rules
  • Loading branch information
ShGKme authored May 16, 2024
2 parents 10ff104 + 06bfbf4 commit 049cd90
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 049cd90

Please sign in to comment.