Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

challenge(formatter): fix typescript/union/inlining #775

Merged

Conversation

Yash-Singh1
Copy link
Contributor

Summary

Checks for comments in biome_js_formatter/typescript/utils::should_hug_type and prevents hugging in that case. Not sure why the report.md is updating with js/* test cases as my work was only in the typescript part of the formatter.

Test Plan

My implementation brought 100% Prettier similarity on the typescript/union/inlining test case. I also fixed the reformat issue on typescript/union/single-type.

@github-actions github-actions bot added A-Formatter Area: formatter L-JavaScript Language: JavaScript and super languages labels Nov 19, 2023
@Conaclos Conaclos force-pushed the challenge/typescript_union_inlining branch from 4859812 to a7b978d Compare November 19, 2023 17:52
@Conaclos Conaclos merged commit cd234f7 into biomejs:main Nov 19, 2023
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Formatter Area: formatter L-JavaScript Language: JavaScript and super languages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants