Skip to content

Commit

Permalink
Comply to new vue/first-attribute-linebreak rule
Browse files Browse the repository at this point in the history
vuejs/eslint-plugin-vue#1587

Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
  • Loading branch information
skjnldsv committed Jan 12, 2022
1 parent dbe667c commit e36e2d8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions index.js
Expand Up @@ -89,10 +89,11 @@ module.exports = {
// code spacing with attributes
'vue/max-attributes-per-line': ['error', {
singleline: 3,
multiline: {
max: 1,
allowFirstLine: true,
},
multiline: 1,
}],
'vue/first-attribute-linebreak': ['error', {
'singleline': 'beside',
'multiline': 'below',
}],
// custom event naming convention
'vue/custom-event-name-casing': ['error', 'kebab-case', {
Expand Down

0 comments on commit e36e2d8

Please sign in to comment.