#### Stop searching for EditorConfig files above Git worktrees (#18891 by @seiyab)

Prettier now treats a `.git` file as a project root marker, in addition to a `.git` directory. This prevents EditorConfig settings from a parent directory from being applied when formatting files inside Git worktrees or submodules.
