Code Quality Checklist
For detailed patterns, read the instruction files in .github/instructions/.
Critical Violations (Must Fix)
- No barrel files (
index.ts) - Components in own subfolders
- DDD boundaries respected (no cross-domain imports)
-
standalone: true+OnPushon every component - Signal inputs (
input()) and outputs (output()), not decorators -
@if/@for/@switchcontrol flow, never*ngIf/*ngFor -
inject()function, not constructor injection - No
anytypes — strict TypeScript - kebab-case files, PascalCase classes without type suffixes
Warnings (Should Fix)
-
@forhastrackexpression - Heavy computations in
computed(), not templates - Every new file has a
.spec.tscompanion -
provideZonelessChangeDetection()in all tests - Store uses
rxMethod+tapResponsefor async - Loading/error states managed consistently
Lint & Format
npm run lint # ESLint + auto-fix
npx prettier --check . # Check formatting