From c7111ced31f21b26e11341100378d81763da5f44 Mon Sep 17 00:00:00 2001 From: "tangly1024.com" Date: Fri, 15 Mar 2024 16:22:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=20prettierrc=20=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=20eslint=E7=9A=84multiline-ternary=E5=8E=9F=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .prettierrc.json | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index 5f5ab6df..f0bc11c8 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,6 +1,10 @@ { - "singleQuote": true, - "semi": false, - "trailingComma": "none", - "arrowParens": "avoid" -} + "singleQuote": true, + "semi": false, + "trailingComma": "none", + "arrowParens": "avoid", + "printWidth": 120, + "bracketSpacing": true, + "jsxSingleQuote": true, + "jsxBracketSameLine": true +} \ No newline at end of file