Skip to content

chore: add dev tooling (prettier, husky, commitlint, CI)#7

Merged
maximn merged 1 commit into
mainfrom
chore/dev-tooling-upgrade
Mar 14, 2026
Merged

chore: add dev tooling (prettier, husky, commitlint, CI)#7
maximn merged 1 commit into
mainfrom
chore/dev-tooling-upgrade

Conversation

@maximn
Copy link
Copy Markdown
Contributor

@maximn maximn commented Mar 14, 2026

Summary

  • Add Prettier with eslint-config-prettier integration for consistent formatting
  • Add Husky git hooks: pre-commit (lint-staged), pre-push (typecheck + test), commit-msg (commitlint)
  • Add lint-staged to run ESLint fix + Prettier on staged files
  • Add Commitlint to enforce conventional commit messages
  • Add CI workflow with 5 parallel jobs: lint & format, typecheck, test, build, verify dist/
  • Add new scripts: lint:fix, format, format:check, typecheck
  • Pin packageManager to pnpm@10.28.2

Test plan

  • pnpm lint passes
  • pnpm format:check passes (existing code already matched Prettier config)
  • pnpm typecheck passes
  • pnpm test passes (159 tests)
  • pnpm build succeeds
  • Pre-commit hook ran lint-staged successfully on commit
  • Pre-push hook ran typecheck + tests successfully on push
  • CI workflow runs on this PR

Add industry-standard dev tooling to match the reference project:
- Prettier with eslint-config-prettier integration
- Husky git hooks (pre-commit, pre-push, commit-msg)
- lint-staged for staged file linting/formatting
- Commitlint for conventional commit enforcement
- CI workflow with lint, typecheck, test, build, and dist verification
- New scripts: lint:fix, format, format:check, typecheck
- Pin packageManager to pnpm@10.28.2
@maximn maximn merged commit 47243bc into main Mar 14, 2026
5 checks passed
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