Skip to content

Commit

Permalink
Swapped jshint and jscs for eslint in gulpfile.js
Browse files Browse the repository at this point in the history
  • Loading branch information
shannonmoeller committed May 4, 2015
1 parent ab0e7d3 commit 6c0e3c3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 () {
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 6c0e3c3

Please sign in to comment.