Skip to content

chore: exclude generated docs/api.yaml from prettier check#14

Merged
birme merged 1 commit into
mainfrom
chore/prettierignore-generated-api-doc
Jul 10, 2026
Merged

chore: exclude generated docs/api.yaml from prettier check#14
birme merged 1 commit into
mainfrom
chore/prettierignore-generated-api-doc

Conversation

@svensson00

Copy link
Copy Markdown
Contributor

The pretty CI check currently fails on every PR because docs/api.yaml on main does not satisfy the repo prettier config (the generated swagger dump uses double-quoted YAML while .prettierrc sets singleQuote: true). The file was introduced by ae507d2 ("chore: generated api doc") and is machine-generated from the fastify swagger endpoint, so reformatting it would only last until the next regeneration.

This adds docs/api.yaml to .prettierignore. npx prettier --check --ignore-unknown . passes on a clean checkout with this change, so PR checks reflect only the PR's own diff again (currently red on #11 and #12 through no fault of theirs).

🤖 Generated with Claude Code

The api doc is a generated swagger dump (chore ae507d2) and does not
follow the repo prettier config (singleQuote), so the pretty CI check
fails on every PR regardless of its diff. Ignoring the generated file
keeps CI green and survives regeneration.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@birme birme merged commit 4398934 into main Jul 10, 2026
4 checks passed
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.

2 participants