diff --git a/package.json b/package.json index 98f8977c72632127367323524560964564860dae..362b1d2568beaa451c679fb32ba65533251a3a66 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/tsfmt.json b/tsfmt.json new file mode 100644 index 0000000000000000000000000000000000000000..2259dd3ff393c2b2dd3df5578691d3e1951624a2 --- /dev/null +++ b/tsfmt.json @@ -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 +} \ No newline at end of file