Skip to content

Commit

Permalink
Update to gulp-eslint v2
Browse files Browse the repository at this point in the history
Also update del and lazypipe modules
  • Loading branch information
dfreedm committed Feb 16, 2016
1 parent 9bdfaca commit dca0dda
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 10 deletions.
7 changes: 4 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,9 @@
"html"
],
"globals": {
"CustomElements": true,
"HTMLImports": true,
"Polymer": true
"CustomElements": false,
"HTMLImports": false,
"Polymer": false,
"WeakMap": false
}
}
8 changes: 4 additions & 4 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,8 @@ gulp.task('micro', vulcanizeWithExcludes(micro));
gulp.task('mini', vulcanizeWithExcludes(mini, [micro]));
gulp.task('max', vulcanizeWithExcludes(max, [mini, micro]));

gulp.task('clean', function(cb) {
del(workdir, cb);
gulp.task('clean', function() {
return del(workdir);
});

// copy bower.json into dist folder
Expand Down Expand Up @@ -99,8 +99,8 @@ gulp.task('restore-src', function() {
.pipe(gulp.dest('.'));
});

gulp.task('cleanup-switch', function(cb) {
del([mini + '.bak', micro + '.bak', max + '.bak'], cb);
gulp.task('cleanup-switch', function() {
return del([mini + '.bak', micro + '.bak', max + '.bak']);
});

gulp.task('switch-build', function() {
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,15 @@
"test": "test"
},
"devDependencies": {
"del": "^1.1.1",
"del": "^2.2.0",
"eslint-plugin-html": "^1.3.0",
"gulp": "^3.8.11",
"gulp-audit": "^1.0.0",
"gulp-eslint": "^1.1.1",
"gulp-eslint": "^2.0.0",
"gulp-rename": "^1.2.2",
"gulp-replace": "^0.5.3",
"gulp-vulcanize": "^6.0.1",
"lazypipe": "^0.2.3",
"lazypipe": "^1.0.1",
"polyclean": "^1.2.0",
"run-sequence": "^1.1.0",
"web-component-tester": "^4"
Expand Down

0 comments on commit dca0dda

Please sign in to comment.