layer5 icon indicating copy to clipboard operation
layer5 copied to clipboard

chore: Add image validation for Gatsby components and enhance error handling

Open leecalcote opened this issue 3 weeks ago • 4 comments

Signed-off-by: Lee Calcote [email protected]

Description

A new make target: check-images reports if any <GatsbyImage /> 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.

leecalcote avatar Dec 04 '25 15:12 leecalcote

Build failing

saurabhraghuvanshii avatar Dec 04 '25 16:12 saurabhraghuvanshii

Build failing

Clearly, it is. This sort of feedback isn't helpful.

leecalcote avatar Dec 04 '25 16:12 leecalcote

This build is probably failing because of a function called before its definition. I'm trying to check if this is true

Fireentity avatar Dec 06 '25 12:12 Fireentity

@Fireentity's code change suggestions have been applied. This branch is now sync'ed with master.

leecalcote avatar Dec 06 '25 22:12 leecalcote