Co-authored-by: Georgii Dolzhykov <thorn.mailbox@gmail.com>
472 B
472 B
Fix unstable pair of comments between class methods (#8731 by @fisker)
// Input
class C {
ma() {} /* D */ /* E */
mb() {}
}
// Prettier stable
class C {
ma() {} /* E */ /* D */
mb() {}
}
// Prettier stable (Second format)
class C {
ma() {} /* D */ /* E */
mb() {}
}
// Prettier master
class C {
ma() {} /* D */ /* E */
mb() {}
}