Skip to content

Commit

Permalink
configure prettier and tslint (#16)
Browse files Browse the repository at this point in the history
it will format the all staged code automatically before commit
  • Loading branch information
deerawan committed Oct 21, 2017
1 parent 664d72b commit 9f39cd0
Show file tree
Hide file tree
Showing 10 changed files with 3,413 additions and 90 deletions.
5 changes: 5 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"printWidth": 80,
"singleQuote": true,
"trailingComma": "es5"
}
5 changes: 3 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
"search.exclude": {
"out": true // set this to false to include "out" folder in search results
},
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
}
"typescript.tsdk": "./node_modules/typescript/lib", // we want to use the TS server from our node_modules folder to control its version,
"editor.formatOnSave": true
}
Loading

0 comments on commit 9f39cd0

Please sign in to comment.