Conversation
OpenCode tries to "helpfully" run prettier after every change an agent makes. But somehow it does it in a way that actually breaks formatting. Here is where OpenCode actually broke the formatting of a page: #28343 (comment) That change got merged and the formatting on that page remains broken today, a month later. Nobody noticed. Running `prettier` by hand does not cause this. It's only when OpenCode runs it, for some reason. This change disables the feature entirely because it is causing much more harm than good.
|
This pull request requires reviews from CODEOWNERS as it changes files that match the following patterns:
|
|
Preview URL: https://17c19e1c.preview.developers.cloudflare.com |
Actually, I haven't found any different behavior between what AI agents do and what VS Code/Windsurf+prettier extension does. In the functions reference we've used Are you able to correctly format MDX files such as |
OpenCode tries to "helpfully" run prettier after every change an agent makes.
But somehow it does it in a way that actually breaks formatting.
Here is where OpenCode actually broke the formatting of a page: #28343 (comment)
That change got merged and the formatting on that page remains broken today, a month later. Nobody noticed.
Running
prettierby hand does not cause this. It's only when OpenCode runs it, for some reason.This change disables the feature entirely because it is causing much more harm than good.