npm install gulp-tslint-loggulp-tslint-log
===============
| Package | gulp-tslint-log |
| Description | tslint plugin for gulp, that uses the gulp log to report any failures. It does not modify the files in the stream, it simply analyses them. Based of gulp-tslint. |
| Node Version | >= 0.10 |
var gulp = require('gulp');
var tslintLog = require('gulp-tslint-log');
gulp.task('default', function () {
return gulp
.src('app/*/.ts')
.pipe(tslintLog({
quotemark: [true, 'single'],
semicolon: true
}))
.pipe(gulp.dest('dev'));
});
By default it checks for the tslint.json file in the current path, or you
can specify one by passing a string as the first argument. If the default tslint.json is used, you may override the options by passing an object
with the rules.
More information on about the available
tslint options.