I needed a flag to temporarily exclude | disable | ignore the directory. I tried eslint --help | grep exclude eslint --help | grep exclude eslint --help | grep exclude eslint --help | grep exclude no avail.
Then I asked Google for the eslint exclude directory, and the first SO result pointed me to Disable eslint rules for the folder, and my answer was not found there and not here, so maybe someone else is looking for the word "exclude", which in this context is completely replaced by "disable".
Finally, in the ESLint CLI docs, I found the following:
--ignore-path--ignore-pattern--no-ignore
I hope this helps someone (who might think of a quick SO hit before ... documentation).
source share