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