-
Notifications
You must be signed in to change notification settings - Fork 912
Description
Trying to follow along with the ESLint video from FEM, but running into a few issues, but here is one.
The following command line does not work.
./node_modules/.bin/eslint **/*.{js,jsx} --quiet
Neither does this:
./node_modules/.bin/eslint **/*.js --quiet
They both return 'zsh: argument list too long: ./node_modules/.bin/eslint'
The following does:
./node_modules/.bin/eslint */*.jsx --quiet
So does this:
./node_modules/.bin/eslint **/*.jsx --quiet
I can only assume that this is because of the number of js files in the node_modules folder? But, eslint is supposed to ignore the node_modules folder by default. I try to run this using the --ignore-pattern flag, but doesn't seem to matter.
I noticed a few glob sort of issues on the eslint repo and symlinks, but a bit over my head at the moment? eslint/eslint#4606
Is anybody else having this problem and is there a workaround?
For the time being, I am just going to use ./node_modules/.bin/eslint **/*.jsx --quiet and roll with it.