gulp-cslint

0.0.1 • Public • Published

gulp-cslint

A Gulp plugin for your CoffeeScript source through eslint.

inspired by adametry/gulp-eslint and Clever/coffee-jshint.

usage

First, install gulp-cslint as a dependency:

npm i --save-dev gulp-cslint

Then, add it to your Gulpfile.js:

var gulp = require('gulp'),
    cslint = require('gulp-cslint');
 
gulp.task('lint', function () {
    return gulp.src(['app/assets/**/*.coffee'])
        .pipe(cslint())
        .pipe(cslint.format())
        .pipe(cslint.failOnError());
});
 
gulp.task('default', ['lint'], function () {
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.1
    17
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.1
    17
  • 0.0.0
    4

Package Sidebar

Install

npm i gulp-cslint

Weekly Downloads

5

Version

0.0.1

License

MIT

Last publish

Collaborators

  • geta6