From 9a1466679bbe4e55ad1770f79071170cda94e704 Mon Sep 17 00:00:00 2001 From: Matt Bierner Date: Mon, 30 Aug 2021 15:14:03 -0700 Subject: [PATCH] Add insertSpaceAfterOpeningAndBeforeClosingEmptyBraces to tsfmt This setting currently isn't picked up properly (https://github.com/vvakame/typescript-formatter/issues/166) but adding it for the future --- tsfmt.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tsfmt.json b/tsfmt.json index 72a3195dbc9..741eb1e5527 100644 --- a/tsfmt.json +++ b/tsfmt.json @@ -10,7 +10,8 @@ "insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false, "insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false, "insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false, + "insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": true, "insertSpaceBeforeFunctionParenthesis": false, "placeOpenBraceOnNewLineForFunctions": false, "placeOpenBraceOnNewLineForControlBlocks": false -} \ No newline at end of file +}