2
2
mirror of https://github.com/Llewellynvdm/nativefier.git synced 2024-11-16 01:37:07 +00:00
nativefier/gulp/tests/lint.js

10 lines
323 B
JavaScript
Raw Normal View History

2016-02-27 16:45:44 +00:00
import gulp from 'gulp';
import eslint from 'gulp-eslint';
gulp.task('lint', () => {
return gulp.src(['**/*.js', '!node_modules/**', '!app/node_modules/**', '!app/lib/**', '!lib/**', '!built-tests/**', '!coverage/**'])
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
});