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:
parent
f62ce4acc1
commit
b4416b5f0f
31 changed files with 126 additions and 119 deletions
10
gulpfile.js
Normal file
10
gulpfile.js
Normal 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'])
|
Loading…
Add table
Add a link
Reference in a new issue