Commit Graph

4 Commits

Author SHA1 Message Date
N0zoM1z0 5a7ccefc68 fix: preserve setup diagnostics and clean Knip config 2026-07-14 19:27:31 +08:00
morluto 8f035abb3a Enforce local and CI quality gates 2026-07-12 10:57:48 +08:00
morluto 4dec415fc8 Remove dead exports found by knip
- Un-export HOMEBREW_COMMANDS, systemSetupHost, ToolKind, BinaryArchitecture,
  HopperDiagnostic -- only consumed within their own files
- Remove unused HopperUnavailableError class (never instantiated)
- Reformat knip.json entry/project arrays to multi-line
2026-07-12 10:20:45 +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