-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Labels
area:commentsIssues with how Prettier prints commentsIssues with how Prettier prints commentslang:flowIssues affecting Flow-specific constructs (not general JS issues)Issues affecting Flow-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.
Description
I need to fix the formatting of comments in Flow enums (added in #6833). Not sure why it isn't working as expected.
Prettier /next/
Playground link
Input:
enum E {
A = 0,
// B = 1,
C = 2
}Output:
enum E {
// B = 1,
A = 0,
C = 2
}Expected behavior:
enum E {
A = 0,
// B = 1,
C = 2
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area:commentsIssues with how Prettier prints commentsIssues with how Prettier prints commentslang:flowIssues affecting Flow-specific constructs (not general JS issues)Issues affecting Flow-specific constructs (not general JS issues)locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.