Files
test-repo/changelog_unreleased/javascript/pr-6984.md
T
fisker Cheung da8d082ce0 Add changelog lint script (#7320)
* 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
2020-01-15 19:25:55 +02:00

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;