1.1.1 • Published 7 years ago

gulp-tslint-teamcity v1.1.1

Weekly downloads
47
License
MIT
Repository
github
Last release
7 years ago

gulp-tslint-teamcity

Dependency Status npm version

Typescript lint reporter for gulp-tslint that works with tslint-teamcity-reporter.

<!-- DEPRECATED

Since tslint 4.X, gulp-tslint 7.X and tslint-teamcity-reporter 2.X you do not need this package anymore. Simply use the reporter directly using the new tslint syntax seen below. Therefore this package will not be updated anymore.

var gulp = require('gulp');
var tslint = require('gulp-tslint');
// tslint-teamcity-reporter is also installed

gulp.task('lint', function () {
    gulp.src('SourceFiles.ts')
      .pipe(tslint({
        formatter: 'tslint-teamcity-reporter'
      }))
      .pipe(tslint.report({ emitError: false }));

-->

Installation

Note that this is designed to accept output from gulp-tslint, which must be installed separately. To install this package:

npm install gulp-tslint-teamcity --save-dev

Usage

var gulp = require('gulp');
var tslint = require('gulp-tslint');
var teamcity = require('gulp-tslint-teamcity');

gulp.task('lint', function () {
    gulp.src('SourceFiles.ts')
      .pipe(tslint())
      .pipe(tslint.report(teamcity, {
        emitError: false
      }));

Credits

License

MIT

1.1.1

7 years ago

1.1.0

8 years ago

1.0.3

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago

1.0.0

9 years ago