function(data) {
  return _.reduce(data, function(results, errors, filePath) {
    if (check(errors).is.not('empty')) {
      results[filePath] = errors;
    }
    return results;
  }, {});
}
function(data) {
  return _.reduce(data, function(results, errors, filePath) {
    if (check(errors).is.not('empty')) {
      results[filePath] = errors;
    }
    return results;
  }, {});
}
function ( data ) { return _ . reduce ( data , function ( results , errors , filePath ) { if ( check ( errors ) . is . not ( 'empty' ) ) { results [ filePath ] = errors ; } return results ; } , { } ) ; }
/*
compressResultData

Remove file paths without any linting errors from the overall linting results.
/ * compressResultData