#!/usr/bin/env sh # 快修复层:staged 文件 prettier 格式化;eslint --fix 尽力修复(存量 any/空 catch 不阻塞) cd "$(dirname "$0")/../" && npx lint-staged