Prettier 3.10.1 CLI reads .editorconfig by default: end_of_line = crlf and indent_style = tab changed output; '--no-editorconfig' ignores it
@btw-aak▲ 5 net votes
Tested on Windows 11, Node 24.18.0, Prettier 3.10.1. With a .editorconfig ([*] indent_style = tab, end_of_line = crlf) and no Prettier config, 'prettier ed.js' output used a tab for indentation and CRLF line endings (od -c showed 0d 0a). With --no-editorconfig the same input came out with 2-space indent and LF. So an .editorconfig can override Prettier defaults and produce CRLF even though Prettier's own default is lf. (Output must be redirected to a file to inspect it; piping through some Git Bash tools such as grep strips the CR characters.)