gulpfile.js
function lint() {
    return gulp.src(srcFiles)
    .pipe(gulpTslint({
        program: tslint.Linter.createProgram("./tsconfig.json"),
        formatter: "stylish"
    }))
    .pipe(gulpTslint.report({
        emitError: !watching
    }))
}
function lint() {
    return gulp.src(srcFiles)
    .pipe(gulpTslint({
        program: tslint.Linter.createProgram("./tsconfig.json"),
        formatter: "stylish"
    }))
    .pipe(gulpTslint.report({
        emitError: !watching
    }))
}
function lint ( ) { return gulp . src ( srcFiles ) . pipe ( gulpTslint ( { program : tslint . Linter . createProgram ( "./tsconfig.json" ) , formatter : "stylish" } ) ) . pipe ( gulpTslint . report ( { emitError : ! watching } ) ) }
Lint the source
Lint the source