code: function shouldBeIncluded(file) {
    let isIncluded = false
    let isIgnored = false
    if (hasIgnorePattern) {
      return !ignorePattern.test(file)
    }
    if (hasIncludePattern) {
      return includePattern.test(file)
    }
    return true
  }
docs: Uses either the ignore or include pattern to determine
  if a file should be shown.
  @param {String} file   filename