From e36e2d829209479cb904d849c409d947de5df7f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6?= Date: Wed, 12 Jan 2022 11:43:26 +0100 Subject: [PATCH] Comply to new vue/first-attribute-linebreak rule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit https://github.com/vuejs/eslint-plugin-vue/pull/1587 Signed-off-by: John Molakvoæ --- index.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/index.js b/index.js index 6a04b46..f207b46 100644 --- a/index.js +++ b/index.js @@ -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', {