show prettier diff on CI

This commit is contained in:
Aleksey Kladov 2019-07-29 11:39:40 +03:00
parent d74635244c
commit 605b2983ef

View file

@ -25,7 +25,7 @@
"lint": "tslint --project .",
"test": "node node_modules/vscode/bin/test",
"prettier": "prettier **/*.{json,ts}",
"travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --check"
"travis": "npm run compile && npm run test && npm run lint && npm run prettier -- --write && git diff --exit-code"
},
"prettier": {
"tabWidth": 4,