Skip to content

Governance rules

  • no-unreferenced-assets — Flags every valid asset with zero detected usage references in source code.
  • no-duplicate-content — Flags every non-canonical copy of byte-identical assets; the shortest-path copy is exempt.
  • max-file-size-kb — Flags assets larger than the configured threshold (default 512 KB).
  • allowed-formats — Flags any asset whose format is outside the configured allow-list. No restriction until configured.
  • no-gif — Flags every GIF asset in favor of more efficient modern formats.
  • max-dimensions — Flags images wider or taller than the configured maxWidth/maxHeight.
  • naming-convention — Flags file names that break the configured casing or custom regex pattern. Density suffixes such as @2x are stripped first.
  • svg-sanitization — Flags SVGs containing <script>, XML entities, javascript: URIs, <foreignObject>, <iframe>, <embed> or inline event handlers.

Schema for your editor: /schemas/animoriarc.schema.json