File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 3
3
A TypeScript code formatter powered by TypeScript Compiler Service.
4
4
5
5
``` bash
6
- $ tsfmt
7
-
6
+ $ tsfmt --help
8
7
Usage: tsfmt [options] [--] [files...]
9
8
10
9
Options:
11
10
12
11
-r, --replace replace .ts file
13
12
--verify checking file format
13
+ --baseDir < path> config file lookup from < path>
14
14
--stdin get formatting content from stdin
15
15
--no-tslint don' t read a tslint.json
16
16
--no-editorconfig don' t read a .editorconfig
@@ -94,6 +94,7 @@ now `indentSize` parameter is ignored. it is TypeScript compiler matters.
94
94
"insertSpaceAfterKeywordsInControlFlowStatements": true,
95
95
"insertSpaceAfterFunctionKeywordForAnonymousFunctions": false,
96
96
"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
97
+ "insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
97
98
"placeOpenBraceOnNewLineForFunctions": false,
98
99
"placeOpenBraceOnNewLineForControlBlocks": false
99
100
}
You can’t perform that action at this time.
0 commit comments