Skip to content

JavaScript - enforcing whitespace attached to the outermost element#6245

Merged
greg-at-moderne merged 7 commits intomainfrom
greg-whitespace-attachment-test
Nov 3, 2025
Merged

JavaScript - enforcing whitespace attached to the outermost element#6245
greg-at-moderne merged 7 commits intomainfrom
greg-whitespace-attachment-test

Conversation

@greg-at-moderne
Copy link
Contributor

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

What's changed?

Adding a test in JavaScript to check whether the output of parsing satisfies the OpenRewrite rule of attaching the whitespace to the outermost element.

What's your motivation?

  • Find possibly all the deviations easily.
  • Ensure there's no regression.

@greg-at-moderne greg-at-moderne self-assigned this Nov 3, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Nov 3, 2025
@greg-at-moderne greg-at-moderne marked this pull request as ready for review November 3, 2025 13:36
@greg-at-moderne greg-at-moderne merged commit 6c4d4c4 into main Nov 3, 2025
2 checks passed
@greg-at-moderne greg-at-moderne deleted the greg-whitespace-attachment-test branch November 3, 2025 13:36
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Nov 3, 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