Skip to content

JavaScript - handling function() as expressions in autoformatting#6213

Merged
greg-at-moderne merged 2 commits intomainfrom
greg-js-tabs-function
Oct 29, 2025
Merged

JavaScript - handling function() as expressions in autoformatting#6213
greg-at-moderne merged 2 commits intomainfrom
greg-js-tabs-function

Conversation

@greg-at-moderne
Copy link
Copy Markdown
Contributor

@greg-at-moderne greg-at-moderne commented Oct 29, 2025

What's changed?

Another amendment to JavaScript autoformatting. Handling cases where function() { ...} is an expression, not a standalone statement on its own.

What's your motivation?

Handle more real-life JS/TS code.

@greg-at-moderne greg-at-moderne self-assigned this Oct 29, 2025
@github-project-automation github-project-automation bot moved this to In Progress in OpenRewrite Oct 29, 2025
@greg-at-moderne greg-at-moderne marked this pull request as ready for review October 29, 2025 09:59
@greg-at-moderne greg-at-moderne merged commit 0536637 into main Oct 29, 2025
2 checks passed
@greg-at-moderne greg-at-moderne deleted the greg-js-tabs-function branch October 29, 2025 09:59
@github-project-automation github-project-automation bot moved this from In Progress to Done in OpenRewrite Oct 29, 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.

2 participants