ignore string or string[], or an object with ignore and ignoreChildren methods.
...
If an object is provided that has ignored(path) and/or childrenIgnored(path) methods, then these methods will be called to determine whether any Path is a match or if its children should be traversed, respectively.