Add a rule to toggle space after opening brace and before closing brace (#10447)

* Add a rule to toggle space after opening brace and before closing brace

* Make the added format option optional

* Fix merge issues
This commit is contained in:
Zhengbo Li
2016-09-06 16:15:13 -07:00
committed by GitHub
parent 43e19156c5
commit bef6a668ad
6 changed files with 23 additions and 1 deletions

View File

@@ -1594,6 +1594,7 @@ namespace ts.server {
InsertSpaceAfterFunctionKeywordForAnonymousFunctions: false,
InsertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis: false,
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets: false,
InsertSpaceAfterOpeningAndBeforeClosingNonemptyBraces: true,
InsertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces: false,
InsertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces: false,
PlaceOpenBraceOnNewLineForFunctions: false,