mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-25 12:33:33 +00:00
Fail Travis on Prettier formatting issue
This commit is contained in:
parent
91feed736f
commit
ca239ace93
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@
|
|||
"fix": "prettier **/*.{json,ts} --write && tslint --project . --fix",
|
||||
"lint": "tslint --project .",
|
||||
"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": {
|
||||
"tabWidth": 4,
|
||||
|
|
Loading…
Reference in a new issue