Dashboard › craft › getsentry/publish prettier script rewri…
01a069c1-19e1-752f-96d1-1bafe954134d| Project | Hits | Last recalled |
|---|---|---|
| opencode | 1 | 9d ago |
Trap: running yarn prettier <paths> looks like targeted formatting, but the Yarn Classic script hard-codes prettier --write src; appended paths do not constrain it. It rewrites unrelated baseline files and then fails on src/modules/publish-issue-title.peggy because Prettier has no parser. Fix: do not use that script for scoped changes; restore formatter-only churn, format only supported files with a direct command if needed, then use ESLint, generated-parser check, and Vitest for Publish verification.