Skip to content

Commit

Permalink
Explicitly use eslint-config-xo-space with gulp-eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
mischah committed Dec 4, 2016
1 parent f6002e0 commit 3071aa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict';
var path = require('path');
var gulp = require('gulp');
var eslintConfig = require('eslint-config-xo-space');
var eslint = require('gulp-eslint');
var excludeGitignore = require('gulp-exclude-gitignore');
var mocha = require('gulp-mocha');
Expand All @@ -12,7 +13,7 @@ var coveralls = require('gulp-coveralls');
gulp.task('static', function () {
return gulp.src('**/*.js')
.pipe(excludeGitignore())
.pipe(eslint())
.pipe(eslint(eslintConfig))
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});
Expand Down

0 comments on commit 3071aa1

Please sign in to comment.