panuhorsmalahti / gulp-tslint

TypeScript linter plugin for Gulp
MIT License
118 stars 44 forks source link

combining tslint.report() and tslint()? #58

Open qinfchen opened 8 years ago

qinfchen commented 8 years ago

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: {
            ...
            }
        }))
panuhorsmalahti commented 8 years ago

PRs welcome if someone really needs this.