Skip to content

Limit comment lines to the print width - #50

Merged
lloydevans merged 2 commits into
mainfrom
build/comment-width
Oct 8, 2026
Merged

lloydevans merged 2 commits into
mainfrom
build/comment-width

Conversation

@lloydevans

Copy link
Copy Markdown
Owner

Summary

  • A comment line longer than Prettier's printWidth fails lint. Code lines, disable comments, and lines holding a URL or a single unbroken token are left alone.
  • CONTRIBUTING.md says to wrap a comment paragraph at the print width.

@lloydevans
lloydevans merged commit 0cd9317 into main Oct 8, 2026
3 checks passed
@lloydevans
lloydevans deleted the build/comment-width branch October 8, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant