Files
Memoh/.husky/pre-commit
T
Quincy 68896cd729 Refector/lint (#285)
* # This is a combination of 6 commits.
# This is the 1st commit message:

feat(channel): add WeChat (weixin) adapter with QR code (#278)

* feat(channel): add WeChat (weixin) adapter with QR code

* fix(channel): fix weixin block streaming

* chore(channel): update weixin logo
# The commit message #2 will be skipped:

# build: 修改lint配置

# The commit message #3 will be skipped:

# build: 修改lint配置

# The commit message #4 will be skipped:

# 修改lint配置

# The commit message #5 will be skipped:

# 检测类型错误

# The commit message #6 will be skipped:

# ts类型检测错误

* feat(husky): update linting configuration to improve pre-commit checks

---------

Co-authored-by: 晨苒 <16112591+chen-ran@users.noreply.github.com>
2026-03-24 16:06:41 +08:00

28 lines
415 B
Bash

#!/usr/bin/env sh
# Get script directory
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
sh "$SCRIPT_DIR/check-large-files" || exit 1
echo ""
echo "Running checks..."
sh "$SCRIPT_DIR/check-go" &
PID_GO=$!
sh "$SCRIPT_DIR/check-go-test" &
PID_GO_TEST=$!
sh "$SCRIPT_DIR/check-web" &
PID_WEB=$!
FAIL=0
wait "$PID_GO" || FAIL=1
wait "$PID_GO_TEST" || FAIL=1
wait "$PID_WEB" || FAIL=1
[ "$FAIL" -eq 0 ] || exit 1