Files
test-repo/changelog_unreleased/javascript/18397.md
T

255 B

Avoid double parentheses around logical expression (#18397 by @fisker)

// Input
const a = !(x || y /* foo */);

// Prettier stable
const a = !((x || y) /* foo */);

// Prettier main
const a = !(x || y /* foo */);