code: function isIgnoredFile(file) {
      if (options.ignore !== undefined) {
        var result = false;
  
        options.ignore.forEach(function(pattern) {
          if (minimatch(file, pattern)) {
            result = true;
            return false;
          }
        });
  
        return result;
      }
  
      return false;
    }
docs: Check if the file matches the ignore glob patterns
  
  @param {String} file
  @return {Boolean}