mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +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",
|
"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,
|
||||||
|
|
Loading…
Reference in a new issue