Skip to content

Commit

Permalink
Add changelog_unreleased for prettier#7787
Browse files Browse the repository at this point in the history
  • Loading branch information
shisama committed Apr 27, 2020
1 parent fb19fc5 commit 05d0f9d
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions changelog_unreleased/javascript/pr-7787.md
@@ -0,0 +1,14 @@
#### JS: Keep comments position for LogicalExpression ([#7787](https://github.com/prettier/prettier/pull/7787) by [@shisama](https://github.com/shisama))

<!-- prettier-ignore -->
```jsx
// Input
const a = b || /* comments */
c;

// Prettier stable
const a = b /* comments */ || c;

// Prettier master
const a = b || /* comments */ c;
```

0 comments on commit 05d0f9d

Please sign in to comment.