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

🐛 Nested comment adds extra space #1571

Closed
1 task done
SpanishPear opened this issue Jan 16, 2024 · 1 comment · Fixed by #1581
Closed
1 task done

🐛 Nested comment adds extra space #1571

SpanishPear opened this issue Jan 16, 2024 · 1 comment · Fixed by #1581
Labels
A-Formatter Area: formatter L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@SpanishPear
Copy link
Contributor Author

SpanishPear commented Jan 16, 2024

Biome seems to be aligning the comment border one after the /**(-) - wheras prettier aligns it with the first astrix in /**(+):

type someTypeThing = {
    body:
        | {
              /**
-              * blah
-              */
+                 * blah
+                 */
              id: string;
          }
        | boolean;
};

@SpanishPear SpanishPear changed the title Nested comment adds extra space 🐛 Nested comment adds extra space Jan 16, 2024
@Conaclos Conaclos added A-Formatter Area: formatter L-JavaScript Language: JavaScript and super languages S-Bug-confirmed Status: report has been confirmed as a valid bug labels Jan 16, 2024
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 S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants