Skip to content

Commit

Permalink
Fix glob patterns for eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
TimvdLippe committed Apr 20, 2018
1 parent 6d24013 commit 206cf72
Show file tree
Hide file tree
Showing 3 changed files with 4,101 additions and 1,870 deletions.
4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ gulp.task('closure', ['generate-externs'], () => {
addClosureTypes = new AddClosureTypeImport(entry, 'externs/polymer-internal-types.html');
}

config('polymer.html');
config('polymer-legacy.js');

const project = new PolymerProject({
shell: `./${entry}`,
Expand Down Expand Up @@ -250,7 +250,7 @@ gulp.task('estimate-size', ['clean'], () => {
});

gulp.task('lint-eslint', function() {
return gulp.src(['lib/**/*.html', 'test/unit/*.html', 'util/*.js'])
return gulp.src(['lib/**/*.js', 'test/unit/*.{html,js}', 'util/*.js'])
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError());
Expand Down
5 changes: 1 addition & 4 deletions lib/utils/boot.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at http://polymer.github.io/PATENTS.txt
*/

window.JSCompiler_renameProperty = function(prop, obj) { return prop; }

/** @namespace Polymer */
let __PolymerBootstrap;
window.JSCompiler_renameProperty = function(prop) { return prop; };
Loading

0 comments on commit 206cf72

Please sign in to comment.