#!/usr/bin/env sh # .husky/pre-commit — 提交前自动 lint + format 已暂存文件 . "$(dirname -- "$0")/_/husky.sh" npx --no-install lint-staged