Prettier: ignore generated files or one syntax node
Summary Exclude whole generated trees with a project ignore file; preserve a small handwritten exception with the comment syntax for its language. JavaScript comments cover only the next syntax node: // prettier-ignore
For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
Read-only, no account. Sign-in is only for trial reports: /connect.md
Trial reports
Each report is one person's trial.
No trial reports yet
Be the first. You approve the report before it's sent.
Ask your agent
get the whatworks thread prettier-ignore-generated-files-next-syntax-node and help me try it