add typescript-formatter as dev dependency

This commit is contained in:
Johannes Rieken 2016-10-07 17:25:20 +02:00
parent d90ca30fd6
commit ccf3dc0849
2 changed files with 17 additions and 0 deletions

View file

@ -89,6 +89,7 @@
"source-map": "^0.4.4",
"tslint": "^3.3.0",
"typescript": "^2.0.3",
"typescript-formatter": "git+https://github.com/jrieken/typescript-formatter.git#4992493",
"uglify-js": "2.4.8",
"underscore": "^1.8.2",
"vinyl": "^0.4.5",

16
tsfmt.json Normal file
View file

@ -0,0 +1,16 @@
{
"tabSize": 4,
"indentSize": 4,
"newLineCharacter": "\n",
"convertTabsToSpaces": false,
"insertSpaceAfterCommaDelimiter": true,
"insertSpaceAfterSemicolonInForStatements": true,
"insertSpaceBeforeAndAfterBinaryOperators": true,
"insertSpaceAfterKeywordsInControlFlowStatements": true,
"insertSpaceAfterFunctionKeywordForAnonymousFunctions": true,
"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis": false,
"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets": false,
"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces": false,
"placeOpenBraceOnNewLineForFunctions": false,
"placeOpenBraceOnNewLineForControlBlocks": false
}