Skip to content

Add image validation for Gatsby components and enhance error handling #7650

@saurabhraghuvanshii

Description

@saurabhraghuvanshii

Description

A new make target: check-images reports if any lacking an explicit image prop (exit code 1 when issues are found).

To narrow the scan to a folder with make check-images -- src/pages/community. This script is useful as a guardrail.

originally #7213 (comment)

Expected Behavior

Screenshots

Environment:

  • Host OS:
  • Browser:

Contributor Resources and Handbook

The layer5.io website uses Gatsby, React, and GitHub Pages. Site content is found under the master branch.

Join the Layer5 Community by submitting your community member form.

Metadata

Metadata

Labels

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