Files
AFFiNE/.husky/pre-commit

5 lines
118 B
Bash
Executable File

#!/usr/bin/env sh
. "$(dirname -- "$0")/_/husky.sh"
yarn lint-staged && yarn lint:ox && cargo fmt --all && git add .