Skip to content

chore(prettier): ignore generated badges, dist, coverage - #1

Merged
AndreaBonn merged 2 commits into
mainfrom
chore/prettier-ignore-generated
Jun 8, 2026
Merged

chore(prettier): ignore generated badges, dist, coverage#1
AndreaBonn merged 2 commits into
mainfrom
chore/prettier-ignore-generated

Conversation

@AndreaBonn

Copy link
Copy Markdown
Owner

Summary

  • Add .prettierignore to exclude auto-generated files from format:check
  • Fixes CI failure on main: badges committed by CI itself (single-line JSON via Python json.dump) tripped Prettier on the next run

Why

CI generates badges/test-badge.json and badges/coverage-badge.json then auto-commits them. Those files are not source — they're build artifacts that happen to live in the repo for shields.io. Prettier shouldn't enforce style on them.

Test plan

  • npm run format:check passes locally
  • CI green on PR

@AndreaBonn
AndreaBonn force-pushed the chore/prettier-ignore-generated branch from 41296d3 to 7cacf04 Compare June 8, 2026 13:33
@AndreaBonn
AndreaBonn merged commit 994b063 into main Jun 8, 2026
@AndreaBonn
AndreaBonn deleted the chore/prettier-ignore-generated branch June 8, 2026 13:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant