I am working through a react tutorial that is using eslint. When I type:
eslint **/*.js
it returns 'argument list too long' when I run from the project root. The following works, but does not include all the files.
eslint **/*.js
The problem, however, is not eslint, as the following results in the same error.
ls **/*.js
and
ls */*.js
This is not a big project and the only folder with a number of folders in it is the node_modules folder.
Why is it giving this error for a relatively small area and is there a way to capture all js files in the folder and subfolders?