Skip to content

FE-179 Add ESLint rule to ban direct img tag usage in favour of AppImage #299

@BigBen-7

Description

@BigBen-7

Track
Frontend

Difficulty
Trivial

Description
Raw <img> tags bypass Next.js image optimisation. Add a custom ESLint rule (or use @next/next/no-img-element) to ban them and enforce AppImage usage.

Acceptance Criteria

  • ESLint config includes @next/next/no-img-element as an error.
  • Existing violations are fixed as part of this issue.
  • CI lint step fails on any new raw <img> usage.

Metadata

Metadata

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions