gulp-webdriver
Version:
gulp-webdriver is a gulp plugin to run e2e tests with the WebdriverIO testrunner
15 lines (12 loc) • 331 B
JavaScript
import gulp from 'gulp'
import eslint from 'gulp-eslint'
function eslinter (cb) {
gulp.src(['**/*.js', '!node_modules/**', '!build/**'])
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError())
cb()
}
module.exports = options => {
return { default: eslinter, eslint: eslinter }
}