Socket
Socket
Sign inDemoInstall

gulp-tslint

Package Overview
Dependencies
100
Maintainers
1
Versions
63
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gulp-tslint

TypeScript linter Gulp plugin


Version published
Weekly downloads
25K
decreased by-0.86%
Maintainers
1
Install size
10.4 MB
Created
Weekly downloads
 

Readme

Source

gulp-tslint

Note: This is work in progress.

TypeScript linter plugin for Gulp.

First install gulp-tslint

npm install --save-dev gulp-tslint

Usage:

var tslint = require('../index');

gulp.task('tslint', function(){
      gulp.src('source.ts')
        .pipe(tslint());
});

tslint.json can be supplied as a parameter

gulp.task('rules', function(){
      gulp.src('invalid.ts')
        .pipe(tslint({
              "rules": {
                "class-name": true
                // ...
              }
        }));
});

Keywords

FAQs

Last updated on 25 Feb 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc