valor-software/ng2-select

View on GitHub
gulp-tasks/lint.js

Summary

Maintainability
A
0 mins
Test Coverage
'use strict';

const gulp = require('gulp');
const tslint = require('gulp-tslint');
const paths = gulp.paths;
const tslintConf = require('../tslint.json');

gulp.task('tslint', () =>
  gulp
    .src(paths.tssrc)
    .pipe(tslint(tslintConf))
    .pipe(tslint.report('prose', {
      emitError: true,
      summarizeFailureOutput: true,
      reportLimit: 50
    }))
);

gulp.task('lint', ['tslint']);