Skip to content

Commit

Permalink
Merge b003247 into 5a61730
Browse files Browse the repository at this point in the history
  • Loading branch information
anddoutoi committed Apr 24, 2015
2 parents 5a61730 + b003247 commit 9ae497e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ function gulpEslint(options) {
var config = linter.getConfigForFile(filePath);
util.loadPlugins(config.plugins);
var messages = eslint.verify(str, config, filePath);
if (options.quiet) {
messages = messages.filter(function isError(message) {
return message.severity === 2;
});
}
//eslint.reset();
return {
filePath: filePath,
Expand Down

0 comments on commit 9ae497e

Please sign in to comment.