chore: Add image validation for Gatsby components and enhance error handling
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.
Build failing
Build failing
Clearly, it is. This sort of feedback isn't helpful.
This build is probably failing because of a function called before its definition. I'm trying to check if this is true
@Fireentity's code change suggestions have been applied. This branch is now sync'ed with master.