readutf
Version:
A thin wrapper around fs.readFile that automatically sets the encoding to utf8 on your behest
18 lines (15 loc) • 372 B
JavaScript
var gulp = require('gulp');
var config = require('./config');
var jshint = require('gulp-jshint');
gulp.task('lint', function() {
return gulp.src(config.lib)
.pipe(jshint({
lookup: false,
eqeqeq: true,
es3: true,
indent: 2,
newcap: true,
quotmark: 'single',
boss: true
})).pipe(jshint.reporter('jshint-stylish'));
});