Files
test-repo/tests/range/nested-print-width.js
T
mathieulj 26183e5be2 Use same print width for range formatting as normal formatting. (#6050)
* Use same print width for range formatting as normal formatting.

Fixes an issue were a file would end up formatted differently
with ranged formatting (--range-start & --range-end) versus
normal whole file formatting.

* Document range bugfix in changelog.
2019-05-04 10:18:55 -04:00

6 lines
164 B
JavaScript

function f() {
if (true) {<<<PRETTIER_RANGE_START>>>
call("this line is 79 chars", "long", "it should", "stay as single line");
<<<PRETTIER_RANGE_END>>>}
}