From 06bfbf4daf4ab5fc0d8128fa9839ba6857259690 Mon Sep 17 00:00:00 2001 From: "Grigorii K. Shartsev" Date: Thu, 16 May 2024 18:13:24 +0200 Subject: [PATCH] fix(vue3): align rules with Vue 2 rules Signed-off-by: Grigorii K. Shartsev --- parts/vue3.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/parts/vue3.js b/parts/vue3.js index 508532f..577f7c2 100644 --- a/parts/vue3.js +++ b/parts/vue3.js @@ -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', },