Commit Graph

2 Commits

Author SHA1 Message Date
Ho Ngoc Hai
0aa4fec615 feat(infra): scope pre-commit test hook to staged packages (GOO-228)
Replace blanket `npm test` with lint-staged for linting/formatting and
a turbo --filter script that runs tests only for workspace packages
that have staged .ts/.tsx files.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-25 18:34:38 +07:00
Ho Ngoc Hai
83d55de65b feat: add ESLint flat config, Prettier, dependency-cruiser, and Husky
Setup code quality tooling for the monorepo:
- ESLint 9 flat config with TypeScript, import ordering, and NestJS rules
- Prettier with consistent formatting across all files
- dependency-cruiser enforcing module boundary rules (no cross-module internals, no circular deps)
- Husky + lint-staged for pre-commit hooks
- Auto-fixed existing files for type imports and import ordering

Co-Authored-By: Paperclip <noreply@paperclip.ing>
2026-04-07 23:57:28 +07:00