Skip to content

Commit

Permalink
Add insertSpaceAfterOpeningAndBeforeClosingEmptyBraces to tsfmt
Browse files Browse the repository at this point in the history
This setting currently isn't picked up properly (vvakame/typescript-formatter#166) but adding it for the future
  • Loading branch information
mjbvz committed Aug 30, 2021
1 parent 604dd14 commit 9a14666
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tsfmt.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces": true,
"insertSpaceBeforeFunctionParenthesis": false,
"placeOpenBraceOnNewLineForFunctions": false,
"placeOpenBraceOnNewLineForControlBlocks": false
}
}

0 comments on commit 9a14666

Please sign in to comment.