feat: add pre-commit hook for oxfmt

Set up husky and lint-staged to run oxfmt on staged files
before each commit.

Co-authored-by: Ona <no-reply@ona.com>
This commit is contained in:
2026-04-12 17:46:08 +00:00
parent c95c730533
commit 9184e76845
3 changed files with 65 additions and 6 deletions

1
.husky/pre-commit Normal file
View File

@@ -0,0 +1 @@
bunx lint-staged