gulp-tslint icon indicating copy to clipboard operation
gulp-tslint copied to clipboard

combining tslint.report() and tslint()?

Open qinfchen opened this issue 8 years ago • 1 comments

Is it possible to combine tslint and tslint.report calls?so there is alway only one pipe call to do tslint or tslint + report.

Current settings:

gulp.src("input.ts")
        .pipe(tslint())
        .pipe(tslint.report("prose", {
          emitError: false
        }))

suggested settings

gulp.src("input.ts")
        .pipe(tslint({
            configuration: {
            },
            report: {
            ...
            }
        }))

qinfchen avatar Mar 17 '16 14:03 qinfchen

PRs welcome if someone really needs this.

panuhorsmalahti avatar May 04 '16 18:05 panuhorsmalahti