Skip to content

Commit

Permalink
Updated jquery to version 3
Browse files Browse the repository at this point in the history
Fixed linting issue of lodash helper file
  • Loading branch information
liam-swinney committed Mar 11, 2018
1 parent 4d40ccf commit 9a28aae
Show file tree
Hide file tree
Showing 9 changed files with 17,868 additions and 30,411 deletions.
8 changes: 8 additions & 0 deletions build/config.js
@@ -1,6 +1,14 @@
var files = {
javascript: [
'src/**/*.js'
],
test: [
'src/**/*.js',
'!src/helpers/lodash.js'
],
lint: [
'src/**/*.js',
'!src/helpers/lodash.js'
]
};

Expand Down
2 changes: 1 addition & 1 deletion build/tasks/jscs.js
Expand Up @@ -5,6 +5,6 @@ var jscs = require('gulp-jscs');
var files = require('../config').files;

gulp.task('jscs', function() {
return gulp.src(files.javascript)
return gulp.src(files.lint)
.pipe(jscs());
});
2 changes: 1 addition & 1 deletion build/tasks/jshint.js
Expand Up @@ -5,7 +5,7 @@ var jshint = require('gulp-jshint');
var files = require('../config').files;

gulp.task('jshint', function() {
return gulp.src(files.javascript)
return gulp.src(files.lint)
.pipe(jshint())
.pipe(jshint.reporter('default'))
.pipe(jshint.reporter('fail'));
Expand Down
2 changes: 1 addition & 1 deletion build/tasks/mocha.js
Expand Up @@ -20,7 +20,7 @@ gulp.task('mocha', function() {
});

gulp.task('istanbul', function(cb) {
gulp.src(files.javascript)
gulp.src(files.test)
.pipe(istanbul({ instrumenter: isparta.Instrumenter }))
.pipe(istanbul.hookRequire())
.on('finish', function() {
Expand Down

0 comments on commit 9a28aae

Please sign in to comment.