Files
Julian LechnerandClaude Opus 5.5 b6c33780c3 docs(rules): update TypeScript and Angular rules for TS 7 and trim duplicates
TypeScript 7.0 ships the native compiler as tsc and drops options
deprecated in 6.0. Angular 22 still requires TypeScript >=6.0.0 <6.1.0,
so both rule sets now warn against moving Angular projects to TS 7, and
the Angular index asks to check the Angular version first.

TypeScript runtime safety adds error handling (Error objects only,
cause chaining, unknown in catch, one error model per layer, no
swallowed errors) plus exact decimals for money, ISO 8601 UTC dates, and
Intl formatting. Angular adds per-route SSR render modes, a global
ErrorHandler with provideBrowserGlobalErrorListeners, and translatable
text with locale-aware formatting.

Generic guidance that the TypeScript, refactoring, and UI/UX rules
already cover is removed from the Angular rules, which shrink by about
7.5 percent despite the additions.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-18 10:08:25 +01:00

1.3 KiB

Angular Rules

For Angular work, check the Angular version in package.json first, then open the focused topic rule that matches the change. Angular code is TypeScript: load the matching TypeScript topic rules (rules/typescript/index.md / rules-typescript) as well. Load the security and accessibility rule when the change renders untrusted content, binds HTML or URLs, configures HTTP security or tokens, or builds interactive controls.

Topic Codex rule Claude skill
Components, change detection, signals, and DOM access references/components-and-state.md rules-angular-components-and-state
Templates and styling references/templates-and-styling.md rules-angular-templates-and-styling
RxJS references/rxjs.md rules-angular-rxjs
Dependency injection, services, and HTTP references/services-and-http.md rules-angular-services-and-http
Forms and routing references/forms-and-routing.md rules-angular-forms-and-routing
Security and accessibility references/security-and-accessibility.md rules-angular-security-and-accessibility
Performance references/performance.md rules-angular-performance
Testing, architecture, and package versions references/testing-and-architecture.md rules-angular-testing-and-architecture