21f1d7833b
core.autocrlf=true rewrites .mjs to CRLF in the working tree on checkout/rebase. vitest fails to load CRLF .mjs files with imports (SyntaxError: Invalid or unexpected token, no location) — node --check and esbuild tolerate it, only vitest's transform breaks. `*.mjs text eol=lf` pins LF in the working tree regardless of autocrlf. See memory quirk #100. Repo blobs were already LF — no content change. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
6 lines
275 B
Plaintext
6 lines
275 B
Plaintext
# Normalize line endings for Node ESM tooling files.
|
|
# Keep LF in the working tree regardless of core.autocrlf — CRLF .mjs files
|
|
# break vitest module loading (SyntaxError: Invalid or unexpected token,
|
|
# no file:line). See memory quirk #100 (2026-05-19).
|
|
*.mjs text eol=lf
|