crates/oxc_formatter/tests/fixtures/** text=auto eol=lf
crates/oxc_formatter/tests/fixtures/js/crlf/** text=auto eol=crlf
crates/oxc_formatter/tests/jsdoc/fixtures/** text=auto eol=lf
crates/oxc_formatter_json/tests/fixtures/** text=auto eol=lf
crates/oxc_formatter_json/tests/fixtures/jsonc/crlf/** text=auto eol=crlf
crates/oxc_formatter_graphql/tests/fixtures/** text=auto eol=lf
crates/oxc_formatter_graphql/tests/fixtures/graphql/crlf/** text=auto eol=crlf
crates/oxc_formatter_htmlish/tests/fixtures/** text=auto eol=lf
crates/oxc_formatter_htmlish/tests/fixtures/html/crlf/** text=auto eol=crlf
# NUL bytes would make git read these as binary
crates/oxc_formatter_htmlish/tests/fixtures/html/nul-byte/** text eol=lf diff
crates/oxc_formatter_yaml/tests/fixtures/** text=auto eol=lf
crates/oxc_formatter_yaml/tests/fixtures/yaml/crlf/** text=auto eol=crlf
crates/oxc_formatter_markdown/tests/fixtures/** text=auto eol=lf
apps/oxfmt/test/**/fixtures/** text=auto eol=lf
apps/oxlint/test/fixtures/** text=auto eol=lf

# Use 'ours' merge strategy to avoid conflicts.
# After merging, run `cargo lintgen` to regenerate with the combined rules.
crates/oxc_linter/src/generated/rules_enum.rs linguist-generated=true merge=ours
crates/oxc_linter/src/generated/rule_runner_impls.rs linguist-generated=true merge=ours
crates/oxc_linter/src/generated/assert_layouts.rs linguist-generated=true

# Preserve the line terminators exercised by these parser regression fixtures.
tasks/coverage/misc/pass/tagged-template-invalid-escape-cr.js -text whitespace=cr-at-eol
tasks/coverage/misc/pass/tagged-template-invalid-escape-crlf.js -text whitespace=cr-at-eol
tasks/coverage/misc/pass/regexp-constructor-line-endings.js -text whitespace=cr-at-eol
