Skip to content

Commit

Permalink
Remove file is ignored by .eslintignore warnings
Browse files Browse the repository at this point in the history
These warnings generate a lot of noise and obfuscate useful error
messages in errored build output.
  • Loading branch information
dblandin committed Mar 15, 2017
1 parent cb9d06a commit c17e885
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions bin/eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,7 @@ function isFileWithMatchingExtension(file, extensions) {
}

function isFileIgnoredByLibrary(file) {
var ignored = cli.isPathIgnored(file);
if (ignored) {
var output = "File `" + file + "` ignored because of your .eslintignore file." + "\n";
process.stderr.write(output);
}
return ignored;
return cli.isPathIgnored(file);
}

function prunePathsWithinSymlinks(paths) {
Expand Down

0 comments on commit c17e885

Please sign in to comment.