-
-
Notifications
You must be signed in to change notification settings - Fork 29
Allow ignore to be a Function #247
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
Conversation
test/basic.js
Outdated
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.
This should probably be named differently.
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.
hwhoops, agree
|
Thanks for the PR! I have no objections to this new feature, does any other contributor have any constructive criticism? (@paulcbetts, once there's a consensus, could you please squash your commits?) |
|
My one concern is that specifying Given that the code calls the ignore function within the function it actually passes to |
|
Also, it seems as if the added test failed on CI? |
nbd
I'm okay with that
Yeah, I gotta fix that up |
|
lgtm! only nit is that |
This PR allows the
ignoreoption to be a Function as well as a Regexp