Dashboardcraftpublish-issue-title.js ESLint generation

publish-issue-title.js ESLint generation

Category: gotcha
Confidence: 0.70
ID: 01a04cb2-704e-7fa6-8dd1-47bb4f6bb2dd
Project ID: e16af391-c497-4837-b681-c849a5514499
Cross-project: No
Recalled in other projects: 0
Source session: 1bwAST7ENFvDRuqqJ
Created: 2026-08-29 08:45:57
Updated: 2026-08-29 08:45:57

Content

Trap: manually fixing ESLint reports in generated publish-issue-title.js looks expedient, but regeneration restores Peggy internals and reintroduces drift. Fix: have scripts/generate-publish-issue-title-parser.js emit the generated-file ESLint disable, while keeping the .peggy grammar and generator linted. Run generation before tests so the committed parser cannot become stale.

Move to: