mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Merge #1614
1614: show prettier diff on CI r=matklad a=matklad Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
78317383c9
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