Skip to content

Update Prettier: Don't enforce line limit for markdown files#47909

Open
noahtalerman wants to merge 2 commits into
mainfrom
update-prettier
Open

Update Prettier: Don't enforce line limit for markdown files#47909
noahtalerman wants to merge 2 commits into
mainfrom
update-prettier

Conversation

@noahtalerman

@noahtalerman noahtalerman commented Jun 19, 2026

Copy link
Copy Markdown
Member

Context: #47376 (comment)

Summary by CodeRabbit

  • Chores
    • Updated Markdown formatting configuration to preserve line wrapping behavior.

@claude claude Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Claude Code Review

This repository is configured for manual code reviews. Comment @claude review to trigger a review and subscribe this PR to future pushes, or @claude review once for a one-time review.

Tip: disable this comment in your organization's Code Review settings.

@coderabbitai

coderabbitai Bot commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 1f29de29-2a6b-483a-b913-46caa6403d8b

📥 Commits

Reviewing files that changed from the base of the PR and between 37afd7d and e6bed65.

📒 Files selected for processing (1)
  • .prettierrc.json
✅ Files skipped from review due to trivial changes (1)
  • .prettierrc.json

Walkthrough

The .prettierrc.json file is updated from an empty configuration object ({}) to include a Prettier overrides block. The override targets all Markdown files (*.md) and sets options.proseWrap to "preserve", which instructs Prettier to retain existing line breaks in Markdown files rather than reflowing prose.

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The description is minimal and only provides a context link, missing key template sections like related issue, checklist items, testing details, and change file documentation. Complete the pull request description using the provided template. Include related issue reference, checklist confirmations, and any relevant testing or documentation updates.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately describes the main change: updating Prettier configuration to not enforce line limits for markdown files.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-prettier

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In @.prettierrc.json:
- Line 4: The glob pattern in the "files" field currently uses `*.md` which only
matches Markdown files in the repository root directory. Update this pattern to
`**/*.md` to ensure it covers all Markdown files in nested subdirectories
throughout the repository (such as articles/, docs/, handbook/, server/, tools/,
etc.). This change will ensure the Prettier override applies to all Markdown
files, not just those at the root level.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 3dacbeed-1cb0-4cc9-b9ae-39641c1fc675

📥 Commits

Reviewing files that changed from the base of the PR and between 2044c77 and 37afd7d.

📒 Files selected for processing (1)
  • .prettierrc.json

Comment thread .prettierrc.json Outdated
Comment thread .prettierrc.json Outdated
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