File: gulpfile.js

package info (click to toggle)
node-websocket 1.0.28-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 564 kB
  • sloc: cpp: 220; makefile: 31; sh: 1
file content (14 lines) | stat: -rw-r--r-- 358 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/**
 * Dependencies.
 */
var gulp = require('gulp');
var jshint = require('gulp-jshint');

gulp.task('lint', function() {
	return gulp.src(['gulpfile.js', 'lib/**/*.js', 'test/**/*.js'])
		.pipe(jshint('.jshintrc'))
		.pipe(jshint.reporter('jshint-stylish', {verbose: true}))
		.pipe(jshint.reporter('fail'));
});

gulp.task('default', gulp.series('lint'));