Update pre-commit

This commit is contained in:
owshiiii 2025-04-15 05:56:17 +08:00 committed by GitHub
parent 730ce485ba
commit 9550bb2310
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

6
.husky/pre-commit vendored
View file

@ -1,7 +1 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
# Workaround of a mysterious bug in either lint-staged or husky.
# https://github.com/typicode/husky/issues/1134
# https://github.com/okonet/lint-staged/issues/693#issuecomment-1079759224
FORCE_COLOR=1 yarn lint-staged --allow-empty