Skip to content

no-unreferenced-assets

Flags every valid asset with zero detected usage references in source code.

  • Severity: warning
  • Enabled by default: yes

How to fix it

Delete the asset, or declare dynamic usage with `tracing.dynamicCollections` if it is built at runtime.

Configuration

{ "rules": { "no-unreferenced-assets": "warn" } }

All rules