client/annotviz/gulp/tasks/jshint.js
author rougeronj
Mon, 13 Apr 2015 17:11:47 +0200
changeset 146 192d7d7f7bb4
parent 85 eff9460bd4f2
permissions -rw-r--r--
Add dynamicRange option. Adapt rescaleScene to be able to increase the scale (new note is added) or decrease the scale (a note is deleted).

'use strict';

var gulp = require('gulp');
var jshint = require('gulp-jshint');

// JSHint
gulp.task('jshint', function () {
  return gulp.src('app/js/**/*.js')
    .pipe(jshint('.jshintrc'))
    .pipe(jshint.reporter(require('jshint-stylish')));
});