mirror of
https://github.com/Llewellynvdm/nativefier.git
synced 2024-12-24 11:05:26 +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());
|
|
});
|