fix: add git hook setup and stable config hash sorting
This commit is contained in:
4
git-hooks/pre-commit
Executable file
4
git-hooks/pre-commit
Executable file
@@ -0,0 +1,4 @@
|
||||
#!/bin/sh
|
||||
ROOT=$(git rev-parse --show-toplevel 2>/dev/null)
|
||||
[ -z "$ROOT" ] && exit 0
|
||||
node "$ROOT/scripts/format-staged.js"
|
||||
Reference in New Issue
Block a user