# Line-ending policy for The Bulwark # # Authored S125 (P10.24) after empirical defect found in S124 stock-watcher # init --update test: lib/templates/rules.md was CRLF (WSL+Windows checkout), # apply-section.sh awk anchor match failed silently, full revert per Stage 9. # # Policy: LF on ALL text files. Git normalizes on commit; checkout produces LF # even on Windows. Binary files auto-detected and unmodified by `* text=auto`. # Default: auto-detect text vs binary; force LF on text files * text=auto eol=lf # Explicit per-extension rules (defense-in-depth; in case auto-detection # misclassifies a file with unusual byte sequences as binary) *.sh text eol=lf *.bash text eol=lf *.md text eol=lf *.txt text eol=lf *.yaml text eol=lf *.yml text eol=lf *.json text eol=lf *.toml text eol=lf *.ini text eol=lf *.py text eol=lf *.just text eol=lf *.ts text eol=lf *.tsx text eol=lf *.js text eol=lf *.jsx text eol=lf *.mjs text eol=lf *.cjs text eol=lf *.rs text eol=lf *.go text eol=lf Justfile text eol=lf LICENSE text eol=lf .gitignore text eol=lf .npmignore text eol=lf # Explicit binary (in case auto-detection misclassifies) *.png binary *.jpg binary *.jpeg binary *.gif binary *.ico binary *.pdf binary *.zip binary *.tar binary *.gz binary