Skip to content

fix(lint): clear eslint-loader unused Skeleton and anonymous page exports#454

Merged
jimmyandrade merged 1 commit into
mainfrom
fix/eslint-loader-page-warnings
Jul 16, 2026
Merged

fix(lint): clear eslint-loader unused Skeleton and anonymous page exports#454
jimmyandrade merged 1 commit into
mainfrom
fix/eslint-loader-page-warnings

Conversation

@jimmyandrade

Copy link
Copy Markdown
Member

Summary

  • Removes unused Skeleton import / commented block from LocationStep.
  • Names default exports on ajuda, consultar, denunciar, privacidade, sobre, and termos pages (same pattern as IndexPage).
  • Adds unit tests for named page exports and a LocationStep regression asserting Skeleton is not imported.
  • Documents the warnings in TROUBLESHOOTING.md.

Closes #453

Test plan

  • npm test -- --testPathPattern='LocationStep|pages/pages'
  • Hard-refresh gatsby develop and confirm eslint-loader warnings are gone

Made with Cursor

…orts

Remove the unused Skeleton import (and dead commented usage) from
LocationStep, and name Gatsby page default exports so Fast Refresh /
no-anonymous-exports-page-templates stops warning. Adds page export
name tests and TROUBLESHOOTING notes.

Closes #453

Co-authored-by: Cursor <cursoragent@cursor.com>
@jimmyandrade jimmyandrade added the bug Something isn't working label Jul 16, 2026
@jimmyandrade jimmyandrade self-assigned this Jul 16, 2026
@jimmyandrade
jimmyandrade merged commit cec4402 into main Jul 16, 2026
4 checks passed
@jimmyandrade
jimmyandrade deleted the fix/eslint-loader-page-warnings branch July 16, 2026 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fix(lint): clear eslint-loader warnings (unused Skeleton, anonymous page exports)

1 participant