fix: add git hook setup and stable config hash sorting

This commit is contained in:
Peter Steinberger
2026-01-19 02:02:09 +00:00
parent dd1b08b3e8
commit a9fc2ca0ef
8 changed files with 363 additions and 4 deletions

4
git-hooks/pre-commit Executable file
View 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"