New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update: Improve perf not traversing default ignored dirs (fixes #5679) #6276
Conversation
LGTM |
Testing with PR on this repo: $ time ./bin/eslint.js node_modules/
real 0m0.366s
user 0m0.329s
sys 0m0.050s vs. master $ time ./bin/eslint.js node_modules/
real 0m2.447s
user 0m2.199s
sys 0m0.276s |
To entirely skip ignoring 👍 |
LGTM |
1 similar comment
LGTM |
This is good, and is a good first pass improvement :) 👍 |
* Returns a list of dir patterns for glob to ignore | ||
* @returns {Array} list of glob ignore patterns | ||
*/ | ||
IgnoredPaths.prototype.ignoredFoldersGlobPatterns = function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd call this getIgnoredFoldersGlobPatterns
(our conventions have methods beginning with verbs)
Looks great, just a couple of very small stylistic things. |
LGTM |
@nzakas PR updated |
LGTM. Awesome stuff! |
Any chance of doing a quick patch release of this? Before: |
@SimenB We try to do releases every other Friday. So next release should be towards the end of this week. |
Replaces #6215