Skip to content

Commit ccf3dc0

Browse files
committed
add typescript-formatter as dev dependency
1 parent d90ca30 commit ccf3dc0

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@
8989
"source-map": "^0.4.4",
9090
"tslint": "^3.3.0",
9191
"typescript": "^2.0.3",
92+
"typescript-formatter": "git+https://github.com/jrieken/typescript-formatter.git#4992493",
9293
"uglify-js": "2.4.8",
9394
"underscore": "^1.8.2",
9495
"vinyl": "^0.4.5",

tsfmt.json

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"tabSize": 4,
3+
"indentSize": 4,
4+
"newLineCharacter": "\n",
5+
"convertTabsToSpaces": false,
6+
"insertSpaceAfterCommaDelimiter": true,
7+
"insertSpaceAfterSemicolonInForStatements": true,
8+
"insertSpaceBeforeAndAfterBinaryOperators": true,
9+
"insertSpaceAfterKeywordsInControlFlowStatements": true,
10+
"insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
11+
"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
12+
"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
13+
"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
14+
"placeOpenBraceOnNewLineForFunctions": false,
15+
"placeOpenBraceOnNewLineForControlBlocks": false
16+
}

0 commit comments

Comments
 (0)