From 3ec388cb73c8b9f9caddc4bb679ae508a8645994 Mon Sep 17 00:00:00 2001 From: Phips Peter Date: Thu, 29 Jan 2015 16:38:02 -0800 Subject: [PATCH] Adding more tests This makes sure the common case is tested --- gulp-tslint/gulp-tslint-tests.ts | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gulp-tslint/gulp-tslint-tests.ts b/gulp-tslint/gulp-tslint-tests.ts index 94834143f..2f12ace8f 100644 --- a/gulp-tslint/gulp-tslint-tests.ts +++ b/gulp-tslint/gulp-tslint-tests.ts @@ -44,4 +44,12 @@ gulp.task('tslint-json', function(){ } })) .pipe(tslint.report('prose'));; -}); \ No newline at end of file +}); + +gulp.task("lint", () => { + return gulp.src(["gulpfile.ts", "{src,test}/**/*.ts"]) + .pipe(tslint()) + .pipe(tslint.report("verbose", { + emitError: true + })); +});