2016-01-25 05:35:15 -05:00
|
|
|
/*
|
|
|
|
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
|
|
|
* http://paperjs.org/
|
|
|
|
*
|
2020-05-23 16:24:42 -04:00
|
|
|
* Copyright (c) 2011 - 2020, Jürg Lehni & Jonathan Puckey
|
|
|
|
* http://juerglehni.com/ & https://puckey.studio/
|
2016-01-25 05:35:15 -05:00
|
|
|
*
|
|
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
|
|
*
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
var gulp = require('gulp'),
|
|
|
|
jshint = require('gulp-jshint'),
|
|
|
|
cache = require('gulp-cached');
|
|
|
|
|
|
|
|
gulp.task('jshint', function () {
|
|
|
|
return gulp.src('src/**/*.js')
|
|
|
|
.pipe(cache('jshint', { optimizeMemory: true }))
|
|
|
|
.pipe(jshint())
|
2016-06-10 11:22:11 -04:00
|
|
|
.pipe(jshint.reporter('jshint-summary'))
|
|
|
|
.pipe(jshint.reporter('fail'));
|
2016-01-25 05:35:15 -05:00
|
|
|
});
|