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

fix(fmt): regression where some short if stmt headers being split on multiple lines #14292

Merged
merged 1 commit into from
Apr 18, 2022

Conversation

dsherret
Copy link
Member

Closes #14291

Fix is here: dprint/dprint@cefcd6a#diff-dc718d439788fa89bb0b7317f7fc141ec15f785eec249140a6410afdf759a32cR451 (recently introduced this concept of line number anchors and it's not being prevalently used yet... looks like it was completely broken)
Added tests to dprint-plugin-typescript here: dprint/dprint-plugin-typescript@6730a78#diff-f9f0652914f42c41030eb0a0815d7aaeb2903364c18918f527abb240d9e0e48bR1-R42

@dsherret dsherret merged commit bf804d3 into denoland:main Apr 18, 2022
@dsherret dsherret deleted the fix_if_stmt_formatting_issue branch April 18, 2022 18:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[fmt] Recent upgrade causes short if statement to be split on multiple lines
2 participants