angular/goldens/public-api
Kristiyan Kostadinov a2e4ee0cb3 feat(compiler): add diagnostic for unused standalone imports (#57605)
Adds a new diagnostic that will report cases where a declaration is in the `imports` array, but isn't being used anywhere. The diagnostic is reported as a warning by default and can be controlled using the following option in the tsconfig:

```
{
  "angularCompilerOptions": {
    "extendedDiagnostics": {
      "checks": {
        "unusedStandaloneImports": "suppress"
      }
    }
  }
}
```

**Note:** I'll look into a codefix for the language service in a follow-up.

Fixes #46766.

PR Close #57605
2024-09-03 14:30:56 -07:00
..
animations build: update to latest dev infra code (#56128) 2024-05-28 14:42:31 +02:00
common refactor(common): allow string urls in NgOptimizedImage input (#54901) 2024-07-01 18:13:24 +00:00
compiler-cli feat(compiler): add diagnostic for unused standalone imports (#57605) 2024-09-03 14:30:56 -07:00
core feat(core): introduce afterRenderEffect (#57549) 2024-09-03 10:40:45 -07:00
elements build: update to latest dev infra code (#56128) 2024-05-28 14:42:31 +02:00
forms fix(forms): Make NgControlStatus host bindings OnPush compatible (#55720) 2024-06-18 11:35:34 -07:00
localize feat(core): support TypeScript 5.5 (#56096) 2024-05-29 15:33:33 +02:00
platform-browser build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
platform-browser-dynamic build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
platform-server build: update to TypeScript 5.5 stable (#56358) 2024-06-25 09:29:16 -07:00
router fix(router): Align RouterModule.forRoot errorHandler with provider error handler (#57050) 2024-08-12 09:28:08 -07:00
service-worker build: update to latest dev infra code (#56128) 2024-05-28 14:42:31 +02:00
upgrade build: update to latest dev infra code (#56128) 2024-05-28 14:42:31 +02:00
manage.js ci: complete migration to prettier formatting (#55580) 2024-04-29 14:00:16 -07:00