javascript-gulp-task-lint

0.0.5 • Public • Published

Gulp task for linting which makes process exit with non-zero status on fail.

Can be used with git pre-commit hook to deny bad javascript.

Usage:

var gulpTaskLint = require('javascript-gulp-task-lint');
gulp.task('lint', gulpTaskLint(['**/*.js', '!node_modules/**', '!app/**', '!tutorial/**']));

In jshintrc you can find .jshintrc for the project and for mocha + should.js tests.

Readme

Keywords

Package Sidebar

Install

npm i javascript-gulp-task-lint

Weekly Downloads

5

Version

0.0.5

License

CC BY-NC-SA 3.0

Last publish

Collaborators

  • iliakan