From 6ad1026d1467e5d96301d25a14bd552e5fc75b18 Mon Sep 17 00:00:00 2001 From: Philipp Lang Date: Fri, 15 Dec 2023 13:48:40 +0100 Subject: [PATCH] update prettier --- .eslintrc.json | 20 ++++++++++++++++---- .prettierrc | 2 +- 2 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.eslintrc.json b/.eslintrc.json index ffad169..0b9bcc1 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -3,14 +3,26 @@ "browser": true, "es2021": true }, - "extends": "plugin:vue/essential", + "extends": [ + "eslint:recommended", + "plugin:vue/vue3-recommended", + "prettier" + ], "parserOptions": { - "ecmaVersion": 12, + "ecmaVersion": "latest", "sourceType": "module" }, "plugins": [ "vue" ], - "rules": { - } + "overrides": [ + { + "files": [ + "*.vue" + ], + "rules": { + "vue/multi-word-component-names": "off" + } + } + ] } diff --git a/.prettierrc b/.prettierrc index 2da1e94..13489a0 100644 --- a/.prettierrc +++ b/.prettierrc @@ -1,5 +1,5 @@ { - "printWidth": 240, + "printWidth": 160, "singleQuote": true, "tabWidth": 4, "quoteProps": "consistent",