This commit is contained in:
louiscklaw
2025-01-31 21:39:17 +08:00
parent 2e592cb561
commit c8cd212029
89 changed files with 9078 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
command_exists () {
command -v "$1" >/dev/null 2>&1
}
# Workaround for Windows 10, Git Bash and Yarn
if command_exists winpty && test -t 1; then
exec < /dev/tty
fi

View File

@@ -0,0 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"
. "$(dirname "$0")/common.sh"
yarn lint-staged