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

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());
});