mirror of
https://github.com/alice-lg/alice-lg.git
synced 2024-05-11 05:55:03 +00:00
20 lines
280 B
JavaScript
20 lines
280 B
JavaScript
|
'use strict';
|
||
|
|
||
|
/**
|
||
|
* Task: lint
|
||
|
* Two words: code quality!
|
||
|
*/
|
||
|
|
||
|
var gulp = require('gulp');
|
||
|
var jshint = require('gulp-jshint');
|
||
|
|
||
|
gulp.task('lint', function(){
|
||
|
return gulp.src([
|
||
|
'app/**/*.js',
|
||
|
])
|
||
|
.pipe(jshint())
|
||
|
.pipe(jshint.reporter('jshint-stylish'));
|
||
|
|
||
|
});
|
||
|
|