Skip to content

no-gif

Flags every GIF asset in favor of more efficient modern formats.

  • Severity: warning
  • Enabled by default: no

How to fix it

Replace the GIF with WebP, AVIF or a video/Lottie asset.

Configuration

{ "rules": { "no-gif": "warn" } }

All rules