I was wondering that parallel-lint works thru a deep directory structure (e.g. vendor/) even though I passed --exclude vendor as a cli arg.
it seems the tools is deep iterating everything and does the filtering afterwards.
wouldn't it be way faster to ignore the excluded directories in the first place, so we don't need to scan the whole directory structure to finally decided there is nothing to lint inside?
I was wondering that parallel-lint works thru a deep directory structure (e.g.
vendor/
) even though I passed--exclude vendor
as a cli arg.it seems the tools is deep iterating everything and does the filtering afterwards.
wouldn't it be way faster to ignore the excluded directories in the first place, so we don't need to scan the whole directory structure to finally decided there is nothing to lint inside?