mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
show prettier diff on CI
This commit is contained in:
parent
d74635244c
commit
605b2983ef
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue