Format changed files in src on pre-commit (#211)

Formats staged files on pre-commit with prettier. Requires running `yarn prepare` once or is enabled after first `yarn install`.
This commit is contained in:
sua yoo
2023-08-16 18:46:38 -07:00
committed by GitHub
parent 1893550274
commit 13d6f011ca
5 changed files with 280 additions and 13 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env sh
[ -n "$CI" ] && exit 0
. "$(dirname -- "$0")/_/husky.sh"
npx lint-staged