From f6e2c2b649dbdd2c8539331760d9c4d740ff7bff Mon Sep 17 00:00:00 2001 From: Jatin Date: Tue, 4 Feb 2020 13:49:01 +1100 Subject: [PATCH] tesing github repo --- gulpfile.js | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index e09cd23f..5b9e2461 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