1
0
Fork 0
mirror of https://github.com/Sonarr/Sonarr synced 2024-12-30 19:56:54 +00:00
Sonarr/gulp/jshint.js

16 lines
398 B
JavaScript
Raw Normal View History

2014-08-28 21:40:18 +00:00
var gulp = require('gulp');
var jshint = require('gulp-jshint');
var stylish = require('jshint-stylish');
var cache = require('gulp-cached');
var paths = require('./paths.js');
2015-07-22 02:42:38 +00:00
gulp.task('jshint', function() {
return gulp.src([
paths.src.scripts,
paths.src.exclude.libs
])
2014-08-30 04:32:09 +00:00
.pipe(cache('jshint'))
2015-02-04 00:56:18 +00:00
.pipe(jshint())
2014-08-28 21:40:18 +00:00
.pipe(jshint.reporter(stylish));
2015-01-30 01:14:38 +00:00
});