Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update pre-commit hook #2166

Merged
merged 1 commit into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

npx --no -- commitlint --edit "$1"
5 changes: 0 additions & 5 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,6 +1 @@
#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"

yarn nano-staged

# yarn nano-staged && yarn tsc:check && yarn test
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
"electrum-client": "BlueWallet/rn-electrum-client#47acb51149e97fab249c3f8a314f708dbee4fb6e",
"eslint": "^8.57.0",
"eslint-plugin-ft-flow": "^3.0.7",
"husky": "^9.0.11",
"husky": "^9.1.5",
"jest": "^29.7.0",
"lnurl": "0.26.2",
"nano-staged": "^0.8.0",
Expand Down
12 changes: 6 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6372,7 +6372,7 @@ __metadata:
eslint-plugin-ft-flow: ^3.0.7
events: 3.3.0
fuzzysort: 1.9.0
husky: ^9.0.11
husky: ^9.1.5
i18next: 23.11.2
i18next-icu: 2.3.0
intl-messageformat: 10.5.11
Expand Down Expand Up @@ -9942,12 +9942,12 @@ __metadata:
languageName: node
linkType: hard

"husky@npm:^9.0.11":
version: 9.0.11
resolution: "husky@npm:9.0.11"
"husky@npm:^9.1.5":
version: 9.1.5
resolution: "husky@npm:9.1.5"
bin:
husky: bin.mjs
checksum: 1aebc3334dc7ac6288ff5e1fb72cfb447cfa474e72cf7ba692e8c5698c573ab725c28c6a5088c9f8e6aca5f47d40fa7261beffbc07a4d307ca21656dc4571f07
husky: bin.js
checksum: c240018e852666dc12a93ca84751f1440bdf436468ba872c7b7b3cee54f5f1d7b4222a117988b27ca437093efdeb128778897ab0e409361336676a2c3012c8a7
languageName: node
linkType: hard

Expand Down
Loading