From c9fbeeff9d120e13948b5ace474ac2c115f38eab Mon Sep 17 00:00:00 2001 From: BSKY Date: Mon, 23 Mar 2020 23:31:00 +0900 Subject: [PATCH] Update .prettierrc.json --- .prettierrc.json | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/.prettierrc.json b/.prettierrc.json index eec6f1c..07760ea 100644 --- a/.prettierrc.json +++ b/.prettierrc.json @@ -1,11 +1,19 @@ { - "printWidth": 80, - "tabWidth": 4, - "useTabs": false, - "semi": true, - "singleQuote": false, - "trailingComma": "none", - "bracketSpacing": true, - "arrowParens": "avoid", - "parser": "typescript" -} \ No newline at end of file + "printWidth": 80, + "tabWidth": 2, + "useTabs": false, + "semi": true, + "singleQuote": false, + "trailingComma": "es5", + "bracketSpacing": true, + "arrowParens": "always", + "overrides": [ + { + "files": "*.ts", + "options": { + "tabWidth": 4, + "parser": "typescript" + } + } + ] +}