Open
Description
Currently .clang-format-ignore
is searched in all parent directories, which creates a sometime unintuitive behavior: clang-format may be affected by a .clang-format-ignore
config outside the project.
Should the search scope be limited by clang-format config or .git directory? It's difficult to notice what happened in these cases since .clang-format-ignore
can be in any parent directory e.g. under home dir and the formatter get silently ignored.