Commit Graph
4 Commits
Author SHA1 Message Date
morluto 9c960b4b67 ci(hooks): skip the staged-file autofix on merge commits (#11530)
A merge commit stages every file brought in from the other branch, so
lint-staged's oxlint --fix rewrote incoming code that main had not
autofixed (duplicate imports and similar fixable warnings), putting
unrelated changes into PR merges and causing new conflicts with main.
Conflict resolutions are still checked by the pre-push hook and CI.
2026-11-15 16:47:06 -05:00
morluto f236b95316 build: separate cached local and PR checks 2026-07-22 15:05:36 +00:00
morluto 8f035abb3a Enforce local and CI quality gates 2026-07-12 10:57:48 +08:00
morluto 8a62075a8e Replace ESLint with oxlint and add code quality tooling
- Replace ESLint/typescript-eslint with oxlint (faster, zero-config TypeScript linting)
- Add oxlint config with complexity thresholds, max-lines, and TypeScript rules
- Add jscpd for duplicate code detection
- Add knip for dead code and unused dependency detection
- Add scripts/scan-todos.mjs for tech debt marker scanning
- Add Husky pre-commit hook running oxlint on staged files
- Fix unnecessary array spreads flagged by oxlint
2026-07-12 10:14:37 +08:00