Skip to content

Conversation

@TaprootFreak
Copy link
Collaborator

Summary

  • Adds husky pre-commit hooks to automatically run ESLint and Prettier checks on staged TypeScript files
  • Prevents CI failures by catching lint and formatting issues before commits are pushed
  • Runs checks only on staged files for fast feedback

Changes

  • Added .husky/pre-commit hook that runs lint-staged
  • Added lint-staged configuration in package.json

Test plan

  • Run npm run lint - passes
  • Run npm run format:check - passes
  • Run npm run build - passes
  • Test pre-commit hook by making a commit

Automatically run ESLint and Prettier checks on staged TypeScript files
before each commit to prevent CI failures.
@TaprootFreak TaprootFreak marked this pull request as draft January 17, 2026 11:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants