You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for reporting this issue. Yes, you are right. Right now there is no way to use negative patterns in the ignore option to cancel previous patterns.
There is already an issue for this problem — #86. I will close this ticket in favor of the existing one.
Environment
Actual behavior
When specifying the
ignore
option, negated patterns are ignored.Expected behavior
When specifying the
ignore
option, negated patterns should be honored.Steps to reproduce
fg
orfg.sync
with anignore
option specified containing a negated pattern.Code sample
This should return all JS files inside of a directory, ignoring
lib
but includinglib/rules
:However, the result is that no files from
lib/rules
are included in the results.Note:
.gitignore
allows negated patterns such as this to re-include files that were previously ignored.The text was updated successfully, but these errors were encountered: