Skip to content

JavaScript - fixing several whitespace attachment problems in parsing#6251

Merged
greg-at-moderne merged 13 commits intomainfrom
greg-js-whitespace-fixes-1
Nov 4, 2025
Merged

JavaScript - fixing several whitespace attachment problems in parsing#6251
greg-at-moderne merged 13 commits intomainfrom
greg-js-whitespace-fixes-1

Conversation

@greg-at-moderne
Copy link
Contributor

@greg-at-moderne greg-at-moderne commented Nov 4, 2025

What's changed?

Fixing several cases of the whitespace being misattached to a LST element. The OpenRewrite rule is to have the whitespace attached to the outermost possible element.

What's your motivation?

Align with the rules.

@greg-at-moderne greg-at-moderne self-assigned this Nov 4, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Nov 4, 2025
@greg-at-moderne greg-at-moderne marked this pull request as ready for review November 4, 2025 08:39
@greg-at-moderne greg-at-moderne merged commit cf5dcfe into main Nov 4, 2025
2 checks passed
@greg-at-moderne greg-at-moderne deleted the greg-js-whitespace-fixes-1 branch November 4, 2025 08:39
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Nov 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant