7b211eab24
* editorconfig: Only search for .editorconfig up to $PWD This addresses https://github.com/prettier/prettier/issues/3558 I'm not sure if this is the best way to find the "project root", but it seems better than before. * editorconfig: Search for `.editorconfig` up to the VCS directory This uses [find-project-root] to find the nearest directory containing `.git` or `.hg` See here for context: https://github.com/prettier/prettier/pull/3559#issuecomment-353756948 [find-project-root]: https://github.com/kirstein/find-project-root * editorconfig: Add test for finding VCS directory It's a little hacky in that the .hg file isn't really a Mercurial repository, but it's enough to illustrate the intent. See here for context: https://github.com/prettier/prettier/pull/3559#issuecomment-353857109 |
||
---|---|---|
.. | ||
arg-parsing | ||
config | ||
config-precedence | ||
debug-check | ||
ignore-absolute-path | ||
ignore-path | ||
ignore-relative-path | ||
invalid-ignore | ||
loglevel | ||
multiple-patterns | ||
skip-folders | ||
stdin-ignore | ||
with-node-modules | ||
with-parser-inference | ||
with-shebang | ||
write |