mirror of
https://github.com/oxc-project/oxc.git
synced 2026-11-04 10:29:58 +00:00
`crates/oxc_formatter_htmlish/tests/fixtures/html/nul/` (added in #28272) uses `nul`, a reserved device name on Windows, which breaks all Windows jobs on main: - `Test Windows`: `error: invalid path 'crates/oxc_formatter_htmlish/tests/fixtures/html/nul/nul-as-written.html'` - `Test NAPI * (windows)`: `Could not find a part of the path '\\.\nul'` while downloading the repo as a local action Renamed the directory to `nul-byte/` and updated the `.gitattributes` entry and the `DIVERGENCES.md` pin. The snapshot content is unchanged. `cargo test -p oxc_formatter_htmlish` passes (`fixtures::html::nul_byte::nul_as_written` included). This PR was created with AI assistance (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
28 lines
1.7 KiB
Plaintext
28 lines
1.7 KiB
Plaintext
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
|