Skip to content

no-duplicate-content

Flags every non-canonical copy of byte-identical assets; the shortest-path copy is exempt.

  • Severity: error
  • Enabled by default: yes

How to fix it

Keep one copy and point every reference to it.

Configuration

{ "rules": { "no-duplicate-content": "error" } }

All rules