Skip to content

Commit

Permalink
also lint gulp and test files
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemmarsh committed Dec 9, 2015
1 parent b647a02 commit a0927d2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion __tests__/utils/APIUtils.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ describe('Util: APIUtils', function() {
let testResponse = {
status: 200,
body: {
camel_case: 'test',
camel_case: 'test', //eslint-disable-line camelcase
PascalCase: 'test',
camelCase: 'test'
}
Expand Down
2 changes: 1 addition & 1 deletion gulp/tasks/lint.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import config from '../config';

gulp.task('lint', function() {

return gulp.src(config.scripts.src)
return gulp.src([config.scripts.src, config.testFiles, './*.js'])
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
Expand Down

0 comments on commit a0927d2

Please sign in to comment.