Skip to content

Commit

Permalink
change check-format to test:format for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
pettinarip committed Jun 17, 2021
1 parent adfa3ac commit 103cb24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn check-format && yarn test:web
yarn test:format && yarn test:web
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@
"test": "yarn workspaces run test",
"test:contracts": "yarn workspace @clrfund/contracts run test",
"test:web": "yarn workspace @clrfund/vue-app run test",
"test:format": "yarn prettier --check",
"deploy:local": "yarn workspace @clrfund/contracts run deploy:local && yarn workspace @clrfund/contracts run deployTestRound:local",
"upgrade:local": "yarn workspace @clrfund/contracts run upgrade:local",
"lint": "yarn workspaces run lint",
"lint:contracts": "yarn workspace @clrfund/contracts run lint",
"lint:web": "yarn workspace @clrfund/vue-app run lint",
"prettier": "prettier --ignore-path .gitignore \"**/*.+(js|ts|json|scss|css|vue)\"",
"format": "yarn prettier --write",
"check-format": "yarn prettier --check",
"prepare": "husky install"
},
"devDependencies": {
Expand Down

0 comments on commit 103cb24

Please sign in to comment.