mirror of
https://github.com/openstf/stf
synced 2025-10-04 10:19:30 +02:00
Add res/.jshintrc to jsonlint.
This commit is contained in:
parent
0c4ae25d88
commit
c1b4dc4af5
1 changed files with 7 additions and 1 deletions
|
@ -21,7 +21,13 @@ gulp.task('jshint', function () {
|
||||||
})
|
})
|
||||||
|
|
||||||
gulp.task('jsonlint', function () {
|
gulp.task('jsonlint', function () {
|
||||||
return gulp.src(['.jshintrc', '.bowerrc', '.yo-rc.json', '*.json'])
|
return gulp.src([
|
||||||
|
'.jshintrc'
|
||||||
|
, 'res/.jshintrc'
|
||||||
|
, '.bowerrc'
|
||||||
|
, '.yo-rc.json'
|
||||||
|
, '*.json'
|
||||||
|
])
|
||||||
.pipe(jsonlint())
|
.pipe(jsonlint())
|
||||||
.pipe(jsonlint.reporter())
|
.pipe(jsonlint.reporter())
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue