Skip to content

docs: clarify --lines formatting behavior - #1525

Open
joaonsk203 wants to merge 1 commit into
google:masterfrom
joaonsk203:document-lines-range-behavior
Open

joaonsk203 wants to merge 1 commit into
google:masterfrom
joaonsk203:document-lines-range-behavior

Conversation

@joaonsk203

Copy link
Copy Markdown

Description

This PR improves the README documentation for the --lines option.

It clarifies that the formatter may modify lines outside the specified range because it expands the range to include complete code sections and associated leading comments.

Related issue

Addresses #1276

Changes

  • Explains why lines outside the requested range may be modified.
  • Describes the expansion of the formatting range.
  • Clarifies that associated leading comments may also be reformatted.

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