UNPKG

gulp-eslint-threshold

Version:

A simple gulp stream plugin for counting warnings and/or errors from gulp-eslint and call a callback function when the number rises above a threshold you set.

17 lines (11 loc) 304 B
/*global describe, it */ 'use strict'; /*var File = require('vinyl'), should = require('should'), eslint = require('../');*/ require('mocha'); describe('gulp-eslint failOnError', function() { it('should handle eslint reports without messages', function(done) { done(); }); });