From 76f7bc1bea2b72f07130f72d44518f7ca4238abd Mon Sep 17 00:00:00 2001 From: jmal Date: Thu, 23 May 2024 09:44:55 +0800 Subject: [PATCH] =?UTF-8?q?style:=20=E4=BD=BF=E7=94=A8prettier=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E5=8C=96App.vue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- prettier.config.js | 2 +- src/App.vue | 17 ++++++++--------- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/prettier.config.js b/prettier.config.js index aaed975..e426cd3 100644 --- a/prettier.config.js +++ b/prettier.config.js @@ -1,7 +1,7 @@ module.exports = { singleQuote: true, semi: false, - trailingComma: 'es5', + trailingComma: 'es6', tabWidth: 2, printWidth: 80, endOfLine: 'lf' diff --git a/src/App.vue b/src/App.vue index 15355a4..ac2e9c0 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,22 +5,21 @@