Skip to content

Commit bbabe69

Browse files
committed
Add script for check-all in CI
1 parent 695e790 commit bbabe69

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -68,11 +68,12 @@
6868
},
6969
"scripts": {
7070
"build": "gatsby build",
71-
"check-all": "yarn prettier && yarn lint && yarn flow",
71+
"check-all": "yarn prettier -- --write && yarn lint && yarn flow",
72+
"check-all:verbose": "yarn prettier -- --list-different && yarn lint && yarn flow",
7273
"dev": "gatsby develop -H 0.0.0.0",
7374
"lint": "eslint .",
7475
"netlify": "yarn install && yarn build",
75-
"prettier": "prettier --config .prettierrc --write '{flow-typed,plugins,src}/**/*.js'",
76+
"prettier": "prettier --config .prettierrc '{flow-typed,plugins,src}/**/*.js'",
7677
"reset": "rimraf ./.cache"
7778
},
7879
"devDependencies": {

0 commit comments

Comments
 (0)