Skip to content

Commit c17e885

Browse files
committed
Remove file is ignored by .eslintignore warnings
These warnings generate a lot of noise and obfuscate useful error messages in errored build output.
1 parent cb9d06a commit c17e885

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

bin/eslint.js

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,12 +97,7 @@ function isFileWithMatchingExtension(file, extensions) {
9797
}
9898

9999
function isFileIgnoredByLibrary(file) {
100-
var ignored = cli.isPathIgnored(file);
101-
if (ignored) {
102-
var output = "File `" + file + "` ignored because of your .eslintignore file." + "\n";
103-
process.stderr.write(output);
104-
}
105-
return ignored;
100+
return cli.isPathIgnored(file);
106101
}
107102

108103
function prunePathsWithinSymlinks(paths) {

0 commit comments

Comments
 (0)