mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
close: #16405 In Windows, a multiline block comment contains a `\r\n` line break. However, the printer assumes all text has no `\r` at all; see #16531. In this PR, we use `LineTerminatorSplitter` to normalize all line breaks to `\n` to solve this problem.
5 lines
210 B
Plaintext
5 lines
210 B
Plaintext
crates/oxc_formatter/tests/fixtures/** text=auto eol=lf
|
|
crates/oxc_formatter/tests/fixtures/js/crlf text=auto eol=crlf
|
|
apps/oxfmt/test/fixtures/** text=auto eol=lf
|
|
apps/oxlint/test/fixtures/** text=auto eol=lf
|