Skip to content

allowed-formats

Flags any asset whose format is outside the configured allow-list. No restriction until configured.

  • Severity: error
  • Enabled by default: no

How to fix it

Convert the asset to an allowed format, or add the format to the list.

Configuration

{ "rules": { "allowed-formats": ["svg", "webp"] } }

All rules