Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

fix(rome_js_formatter): Put closing curly on new line for empty blocks. #2540

Merged
merged 6 commits into from
May 6, 2022

Conversation

IWANABETHATGUY
Copy link
Contributor

@IWANABETHATGUY IWANABETHATGUY commented May 5, 2022

Summary

Fix #2406

Test Plan

The changed snapshot testing result should match prettier

@IWANABETHATGUY
Copy link
Contributor Author

!bench_formatter

@IWANABETHATGUY
Copy link
Contributor Author

The original input test case has been split into three parts,

@IWANABETHATGUY
Copy link
Contributor Author

@MichaReiser Fixed it.

@IWANABETHATGUY
Copy link
Contributor Author

!bench_formatter

@MichaReiser MichaReiser merged commit 2a503e2 into rome:main May 6, 2022
@MichaReiser
Copy link
Contributor

Thanks @IWANABETHATGUY ! Nice work

@IWANABETHATGUY IWANABETHATGUY deleted the fix/empty-block branch May 6, 2022 09:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Put closing curly on new line for empty blocks.
3 participants