- Why does my file have mixed line endings?
- Usually because it was edited across operating systems. Windows writes CRLF, macOS and Linux write LF. Git can auto-convert but sometimes misses files.
- Which line ending should I standardize on?
- LF for everything except Windows-only batch files. All modern tooling (Git, Node, Python, editors) handles LF natively on any OS.
- Does it handle CR-only (classic Mac)?
- Yes — CR-only line endings from pre-OSX Macs or some old tools are detected and converted. Rare in practice but the tool supports it.
- Will it preserve trailing newlines?
- Yes. Text files should end with a newline per POSIX. The tool preserves or adds one based on your 'ensure trailing newline' toggle.