Skip to content

Commit

Permalink
TypeScript --pretty and --strictPropertyInitialization
Browse files Browse the repository at this point in the history
  • Loading branch information
danielweck committed Feb 1, 2018
1 parent 1d87b50 commit d0232ef
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package-scripts-build.cson
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@
'

'transpile:typescript:#ECMASCRIPT#': '
tsc -p "./tsconfigs/tsconfig-#ECMASCRIPT#-all.json"
tsc --pretty -p "./tsconfigs/tsconfig-#ECMASCRIPT#-all.json"
'
2 changes: 1 addition & 1 deletion package-scripts.cson
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@
'

'transpile:typescript': '
tsc -p "./tsconfig.json"
tsc --pretty -p "./tsconfig.json"
'

'pretranspile:typescript:all': '
Expand Down
1 change: 1 addition & 0 deletions tsconfigs/tsconfig-common.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"alwaysStrict": true,
"strictNullChecks": true,
"strictFunctionTypes": true,
"strictPropertyInitialization": true,
"noImplicitReturns": true,
"noFallthroughCasesInSwitch": true,
"noUnusedLocals": true,
Expand Down

0 comments on commit d0232ef

Please sign in to comment.