Skip to content

Commit

Permalink
chore(package): auto-format *.ts files (#1029)
Browse files Browse the repository at this point in the history
This patch ensures `*.ts` files are run thru Prettier before allowing them to be commited to Git.

## Reviewer checks

**Required fields, to be filled out by PR reviewer(s)**
- [x] Follows the commit message policy, appropriate for next version
- [x] Has documentation updated, a DU ticket, or requires no documentation change
- [x] Includes new tests, or was unnecessary
- [x] Code is reviewed for security by: @JKODU
  • Loading branch information
stephenmathieson committed Jul 30, 2018
1 parent ce13f2b commit 0f2efc3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,10 @@
"*.js": [
"prettier --write",
"git add"
],
"*.ts": [
"prettier --write",
"git add"
]
}
}

0 comments on commit 0f2efc3

Please sign in to comment.