'use strict';

var eslint = require('gulp-eslint');
var gulp = require('gulp');
var config = require('../config.js');

gulp.task('eslint', function() {
  var stream = gulp.src(config.lint.src)
    .pipe(eslint())
    .pipe(eslint.format());

  if (config.tests.failTask) {
    // fail the task on eslint violations
    stream = stream.pipe(eslint.failOnError());
  }

  return stream;
});

@@ -7,17 +7,16 @@
 trict';%0A
-%0A
 var esli
@@ -122,18 +122,16 @@
 p.task('
-es
 lint', f

rename eslint task to lint