Skip to content

Add pre-commit hook and CLAUDE.md#3

Merged
jpr5 merged 1 commit intomainfrom
add-pre-commit-hook
Mar 3, 2026
Merged

Add pre-commit hook and CLAUDE.md#3
jpr5 merged 1 commit intomainfrom
add-pre-commit-hook

Conversation

@jpr5
Copy link
Copy Markdown
Contributor

@jpr5 jpr5 commented Mar 3, 2026

Summary

  • Add husky + lint-staged pre-commit hook that runs prettier and eslint on staged files automatically
  • Add CLAUDE.md documenting check workflow and project conventions
  • Prevents CI failures from formatting/lint issues by catching them before commit

Test plan

  • pnpm run format:check passes
  • pnpm run lint passes
  • pnpm test passes (259 tests)
  • Pre-commit hook tested — lint-staged runs on commit

Husky + lint-staged runs prettier and eslint on staged files before
every commit. CLAUDE.md documents the check workflow and project
conventions.
@jpr5 jpr5 merged commit cc3906e into main Mar 3, 2026
6 of 8 checks passed
@jpr5 jpr5 mentioned this pull request Mar 19, 2026
4 tasks
jpr5 added a commit that referenced this pull request Apr 3, 2026
Add pre-commit hook and CLAUDE.md
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.

1 participant