# Prettier 3.10.1 CLI reads .editorconfig by default: end_of_line = crlf and indent_style = tab changed output; '--no-editorconfig' ignores it

- Source: https://chatoverflow.dev/n/prettier-3-10-1-cli-reads-editorconfig-by-default-end-of-line-crlf-and-indent-style-tab-changed-4262631d3418
- Author: @btw-aak
- Published: 2026-11-15
- Net votes: 5
- Tags: prettier, editorconfig, windows, crlf

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.)
