index.js
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;
  }
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;
  }
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 ; }
Check if the file matches the ignore glob patterns

@param {String} file
@return {Boolean}
Check if the file matches the ignore glob patterns