style(templates): rewrap pull-request.md's comments #174
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix/pr-template-wrap"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Why
Prettier fills the source's prose to 72 columns but leaves text inside
HTML comments as written, so three paragraphs in the pull request
template's comments stayed short of the fill, the
## Whyone broken at30 columns. Every repository that adopts the template, and its Forgejo
copy, inherits the ragged text. Fixes #171, widened from the
## Whyparagraph the issue names to every comment paragraph of the same file.
What changed
The comments of
.agents/templates/pull-request.mdand.forgejo/pull_request_template.mdread as filled paragraphs; no wordchanges, and the two files stay identical.
How to verify
On the branch, run this check of every comment paragraph, which prints
each line that could take the next line's first word within 72 columns:
It prints nothing; on main it prints lines 5, 14, 17, and 29.
git diff --word-diff mainshows no changed word.The source's Maintenance checks pass on the tip:
bash tests/verify-agent-config.sh(319 passed),bash tests/check-work-folder.sh,.agents/hooks/shellcheck.sh repo,prettier --check '**/*.md',scripts/verify-agent-config.sh, andgit diff --check main.adb57ee394to71827817a2