mirror of
https://github.com/Sonarr/Sonarr.git
synced 2024-10-30 23:42:33 +01:00
16 lines
398 B
JavaScript
16 lines
398 B
JavaScript
var gulp = require('gulp');
|
|
var jshint = require('gulp-jshint');
|
|
var stylish = require('jshint-stylish');
|
|
var cache = require('gulp-cached');
|
|
var paths = require('./paths.js');
|
|
|
|
gulp.task('jshint', function() {
|
|
return gulp.src([
|
|
paths.src.scripts,
|
|
paths.src.exclude.libs
|
|
])
|
|
.pipe(cache('jshint'))
|
|
.pipe(jshint())
|
|
.pipe(jshint.reporter(stylish));
|
|
});
|