gulp-cslint
gulp plugin for eslint your coffee-script source
Last updated 5 years ago by geta6 .
MIT · Original npm · Tarball · package.json
$ cnpm install gulp-cslint 
SYNC missed versions from official npm registry.

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 () {
});

Current Tags

  • 0.0.1                                ...           latest (5 years ago)

2 Versions

  • 0.0.1                                ...           5 years ago
  • 0.0.0                                ...           5 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dependencies (5)
Dev Dependencies (5)
Dependents (1)

Copyright 2014 - 2016 © taobao.org |