I've been building a static checker for Angular codebases and testing every rule against 19 public repos at pinned commits. Three findings I thought were worth sharing, because each one passes the compiler, the tests and review:
1. A translation key that doesn't exist
this.translateService.instant('walletconnect.error')
The bundle only has walletconnect.connection_error , so ngx-translate renders the raw key on the error page. Checking this properly needs the bundles merged deeply per language, because feature bundles redeclare the same namespace.
2. A label that points nowhere
<label for="currentPassword">Current password</label> <input [(ngModel)]="currentPassword" name="currentPassword" type="password">
The input has no id , so the label is attached to nothing. Clicking it doesn't focus the field, and a screen reader announces the field without a name.
3.…