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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
440 B
Markdown
Raw Normal View History

2020-11-30 12:29:48 +08:00
#### Fix node ends at `rangeStart` was formatted (#9704 by @fisker)
Previously a node ends at `rangeStart` in considered in range, now it's excluded.
<!-- prettier-ignore -->
```js
// Prettier stable
foo = 1.0000;bar = 1.0000;baz=1.0000;
^^^^^^^^^^^^^ Range
// Prettier stable
foo = 1.0;
bar = 1.0;baz=1.0000;
2021-01-24 01:14:13 +08:00
// Prettier main
2020-11-30 12:29:48 +08:00
foo = 1.0000;bar = 1.0;baz=1.0000;
```
_This effect other languages support range format too._