Dashboardcraftgetsentry/publish prettier script rewri…

getsentry/publish prettier script rewrites src

Category: gotcha
Confidence: 0.80
ID: 01a069c1-19e1-752f-96d1-1bafe954134d
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 1
Source session: 1Okgn0vvN7hdZmhlc
Created: 2026-09-04 00:10:57
Updated: 2026-09-04 00:10:57

Cross-Project Recalls

ProjectHitsLast recalled
opencode 1 9d ago

Content

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.

Move to: