mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-11-05 12:57:52 +00:00
10 lines
323 B
JavaScript
10 lines
323 B
JavaScript
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());
|
|
});
|