diff --git a/gulpfile.js b/gulpfile.js index 9648f30..1b63d7e 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -10,14 +10,12 @@ var gulp = require('gulp'), gulp.task('default', ['test']); gulp.task('lint', function () { - var jscs = require('gulp-jscs'), - jshint = require('gulp-jshint'); + var eslint = require('gulp-eslint'); return gulp .src([paths.gulp, paths.src, paths.test]) - .pipe(jscs()) - .pipe(jshint()) - .pipe(jshint.reporter('jshint-stylish')); + .pipe(eslint()) + .pipe(eslint.format()); }); gulp.task('cover', function () { diff --git a/package.json b/package.json index c2d93e8..b21df63 100644 --- a/package.json +++ b/package.json @@ -24,12 +24,12 @@ "coveralls": "cat ./coverage/lcov.info | coveralls", "test": "gulp test" }, - "dependencies": { - }, + "dependencies": {}, "devDependencies": { "coveralls": "^2.11.2", "expect": "^1.6.0", "gulp": "^3.8.11", + "gulp-eslint": "^0.11.1", "gulp-istanbul": "^0.8.1", "gulp-jscs": "^1.5.2", "gulp-jshint": "^1.10.0",