Fail Travis on Prettier formatting issue

This commit is contained in:
Alan Du 2019-01-15 11:15:39 -05:00
parent 91feed736f
commit ca239ace93

View file

@ -24,7 +24,7 @@
"fix": "prettier **/*.{json,ts} --write && tslint --project . --fix", "fix": "prettier **/*.{json,ts} --write && tslint --project . --fix",
"lint": "tslint --project .", "lint": "tslint --project .",
"prettier": "prettier **/*.{json,ts}", "prettier": "prettier **/*.{json,ts}",
"travis": "npm run compile && npm run lint && npm run prettier --list-different" "travis": "npm run compile && npm run lint && npm run prettier -- --list-different"
}, },
"prettier": { "prettier": {
"tabWidth": 4, "tabWidth": 4,