* Add changelog lint script * Refactor lint script * spell * Fix indent * fix templateComment * add H4 check * Add category in title check * use array destructuring * Add space check
487 B
487 B
Fix formatting of labeled statements with comments (#6984 by @clement26695)
Formatting of comments in labeled statements was not stable
// Input
loop1:
//test
const i = 3;
// Prettier stable (first output)
loop1: //test
const i = 3;
// Prettier stable (second output)
//test
loop1: const i = 3;
// Prettier master (first output)
//test
loop1: const i = 3;