20 lines
435 B
Markdown
20 lines
435 B
Markdown
#### Remove empty line in for statement without "update" (#18300 by @fisker)
|
|||
|
|
|
||
|
|
<!-- prettier-ignore -->
|
||
|
|
```jsx
|
||
|
|
// Input
|
||
|
|
for ( let i = 0, j = 0, len = allMatches.length, lenJ = selections.length;i < len;) {}
|
||
|
|
|
||
|
|
// Prettier stable
|
||
|
|
for (
|
||
|
|
let i = 0, j = 0, len = allMatches.length, lenJ = selections.length;
|
||
|
|
i < len;
|
||
|
|
|
||
|
|
) {}
|
||
|
|
|
||
|
|
// Prettier main
|
||
|
|
for (
|
||
|
|
let i = 0, j = 0, len = allMatches.length, lenJ = selections.length;
|
||
|
|
i < len;
|
||
|
|
) {}
|
||
|
|
```
|