Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upDon't iterate over files and folders that should be ignored #1023
Comments
This comment has been minimized.
This comment has been minimized.
|
Maybe this fixes it in eslint 4? |
This comment has been minimized.
This comment has been minimized.
|
Hmm not sure. I'm not sure why caching should fix it, but I know almost nothing about eslint internals, so I could very well be wrong. |
This comment has been minimized.
This comment has been minimized.
|
AFAIK |
This comment has been minimized.
This comment has been minimized.
|
@ematipico Correct. I think what @Flet was hinting at was if the solution to this might come automatically when at some point standard is upgraded to 4.x |
This comment has been minimized.
This comment has been minimized.
|
@watson could you try with |
This comment has been minimized.
This comment has been minimized.
|
@Flet doesn't seem to fix it unfortunately: |
This comment has been minimized.
This comment has been minimized.
|
hmmm hang on... might have spoke too soon. Let me just check something |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Aww, was worth a shot :( |
This comment has been minimized.
This comment has been minimized.
GantMan
commented
Dec 20, 2017
|
I'm having this same issue. Fix is traversing ignored paths and complaining with a exit code 1 |
This comment has been minimized.
This comment has been minimized.
searls
commented
Dec 21, 2017
•
|
Can confirm, I have the same issue with a very-very-very large (almost cyclic) |
This comment has been minimized.
This comment has been minimized.
|
The issue seems related to |
feross
added
bug
help wanted
labels
Feb 27, 2018
This comment has been minimized.
This comment has been minimized.
searls
commented
Feb 27, 2018
|
LOL amazing issue report |
This comment has been minimized.
This comment has been minimized.
|
Nice thank you for digging @serls :) |
This comment has been minimized.
This comment has been minimized.
|
I took at stab at this and found that this is a combination of a few issues. As @searls pointed out, the issue is inside deglob.
Suggested solution:
@feross what do you think of this? |
This comment has been minimized.
This comment has been minimized.
searls
commented
Mar 20, 2018
|
My preferred solution would be to update deglob to behave like the glob module or I realize it could be seen a breaking change, but one person's breaking change is another's patch fix! Based on the popularity of using Is that on the table? |




watson commentedDec 6, 2017
In a project of mine, I have a build directory that quickly gets really large. It's ignored via
.gitignore, so standard doesn't fail on it, but it still runs through all files in the directory. It results in a running time of 13 seconds as opposed to 1 second without the build directory.I know this have been discussed before (#680) and it seems to be a "feature" inherited from eslint. But I'm opening this issue to hopefully start a discussion on how to work around this or how to potentially fix it (either in standard or in eslint).