gulp-tslint-log

0.0.2 • Public • Published

gulp-tslint-log

Information

Packagegulp-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

Usage

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.

/gulp-tslint-log/

    Package Sidebar

    Install

    npm i gulp-tslint-log

    Weekly Downloads

    6

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • guzart