chore: add pre-commit hooks with lint-staged (#1465)
Co-authored-by: cpacker <packercharles@gmail.com> Co-authored-by: Letta Code <noreply@letta.com>
This commit is contained in:
@@ -1,3 +1,7 @@
|
||||
#!/usr/bin/env sh
|
||||
# Run the same checks as CI to ensure parity
|
||||
bun run check
|
||||
|
||||
# Lint staged files only (fast)
|
||||
bunx lint-staged
|
||||
|
||||
# Typecheck full project (catches type errors in unchanged files)
|
||||
bun run typecheck
|
||||
|
||||
Reference in New Issue
Block a user