From 653abd7f45babeb8f8c4afbe59533d851845428e Mon Sep 17 00:00:00 2001 From: TZGyn Date: Sun, 6 Aug 2023 10:25:32 +0800 Subject: [PATCH] Update prettier config --- .prettierrc.yaml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.prettierrc.yaml b/.prettierrc.yaml index bff4f28..1439e2e 100644 --- a/.prettierrc.yaml +++ b/.prettierrc.yaml @@ -1,15 +1,16 @@ +--- printWidth: 80 tabWidth: 4 useTabs: true semi: false singleQuote: true -quoteProps: 'consistent' +quoteProps: consistent jsxSingleQuote: true -trailingComma: 'es5' +trailingComma: es5 bracketSpacing: true bracketSameLine: true -arrowParens: 'always' -htmlWhitespaceSensitivity: 'strict' -vueIndentScriptAndStyle: true +arrowParens: always +htmlWhitespaceSensitivity: strict +vueIndentScriptAndStyle: false singleAttributePerLine: true -plugins: ['prettier-plugin-tailwindcss'] +plugins: [prettier-plugin-tailwindcss]