diff --git a/gulpfile.js b/gulpfile.js index e09cd23..5b9e246 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -41,6 +41,34 @@ gulp.task('spellcheck', function(done) { .pipe(spellcheck.report({})); }); +gulp.task('tslint', done => { + return gulp + .src('src/**/*.ts') + .on('error', function(err) { + done(err); + }) + .pipe( + tslint({ + formatter: 'prose', + }), + ) + .pipe(tslint.report()); +}); + +gulp.task('spellcheck', function(done) { + return gulp + .src('src/**/*.ts') + .on('error', function(err) { + done(err); + }) + .pipe( + spellcheck({ + dictionary: require('./speller-dictionary.js'), + }), + ) + .pipe(spellcheck.report({})); +}); + gulp.task('tsc', function(done) { var tsProject = ts.createProject('tsconfig.json'); return tsProject