1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-03 17:59:28 +02:00

Fix all JSHint complaints in Node.js code.

This commit is contained in:
Simo Kinnunen 2014-03-19 20:36:46 +09:00
parent f62ce4acc1
commit b4416b5f0f
31 changed files with 126 additions and 119 deletions

10
gulpfile.js Normal file
View file

@ -0,0 +1,10 @@
var gulp = require('gulp')
var jshint = require('gulp-jshint')
gulp.task('lint', function() {
gulp.src(['lib/**/*.js', '*.js'])
.pipe(jshint())
.pipe(jshint.reporter('jshint-stylish'))
})
gulp.task('test', ['lint'])