show prettier diff on CI
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user