1
0
mirror of https://github.com/Radarr/Radarr.git synced 2024-11-04 10:02:40 +01:00
Radarr/gulp/jshint.js

16 lines
398 B
JavaScript
Raw Normal View History

2014-08-28 23:40:18 +02: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 04:42:38 +02:00
gulp.task('jshint', function() {
return gulp.src([
paths.src.scripts,
paths.src.exclude.libs
])
2014-08-30 06:32:09 +02:00
.pipe(cache('jshint'))
2015-02-04 01:56:18 +01:00
.pipe(jshint())
2014-08-28 23:40:18 +02:00
.pipe(jshint.reporter(stylish));
2015-01-30 02:14:38 +01:00
});