A simple plugin to avoid having a isFixed function as in the gulp-eslint fix example.
npm i gulp-eslint-if-fixed --save-dev
var eslint = require('gulp-eslint');
var eslintIfFixed = require('gulp-eslint-if-fixed');
gulp.task('lint-fix', function() {
return gulp.src('src/*.js')
.pipe(eslint({fix:true}))
.pipe(eslint.format())
.pipe(eslintIfFixed('src'));
});