mirror of
https://github.com/mermaid-js/mermaid.git
synced 2025-08-31 22:26:53 +02:00
Increased scope of lint check, removed some issues
This commit is contained in:
@@ -14,7 +14,7 @@ var jshint = require('gulp-jshint');
|
||||
var stylish = require('jshint-stylish');
|
||||
|
||||
var paths = {
|
||||
scripts: ['./src/*.js']
|
||||
scripts: ['./src/**/*.js', '!**/parser/*.js']
|
||||
};
|
||||
|
||||
gulp.task('jison2', function() {
|
||||
@@ -40,7 +40,7 @@ gulp.task('dist', ['slimDist', 'fullDist','jasmine']);
|
||||
|
||||
var jasmine = require('gulp-jasmine');
|
||||
|
||||
gulp.task('jasmine',['jison'], function () {
|
||||
gulp.task('jasmine',['jison','lint'], function () {
|
||||
return gulp.src(['src/**/*.spec.js'])
|
||||
.pipe(jasmine({includeStackTrace:true}));
|
||||
});
|
||||
|
Reference in New Issue
Block a user