Open php-coder opened 1 year ago
@yegor256 @pnatashap WDYT about this bug?
This got me tricked as well. Probably, it's not the best name for such option. ESLint for example uses --ignore-path
.
Maybe it's better to --exclude-file=.gitignore
?
@php-coder you can introduce more clear description. The meaning of this option is skipping search for puzzles in files mentioned in .gitignore. exclude is an additional parameter to skip some files, but in gitignore we typically place all paths with binaries.
The description makes me think that inspecting of
.gitignore
is enabled by default and this behavior can be disabled with the option. In fact, pdd disrespects my.gitignore
and this option enables looking into.gitignore
file.Here is how I reproduced this: