Skip to content

Commit

Permalink
Merge pull request #809 from erwinmombay/presubmit-bug
Browse files Browse the repository at this point in the history
Presubmit bug
  • Loading branch information
erwinmombay committed Oct 30, 2015
2 parents 6eb622b + afe9698 commit 7faa08f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions build-system/tasks/presubmit-checks.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,6 @@ var forbiddenTerms = {
'Promise\\.race': es6polyfill,
'\\.startsWith': es6polyfill,
'\\.endsWith': es6polyfill,
// TODO: (erwinm) rewrite the destructure and spread warnings as
// eslint rules (takes more time than this quick regex fix).
// No destructuring allowed since we dont ship with Array polyfills.
'^\\s*(?:let|const|var).*(?:\\[|{).*=': es6polyfill,
// No spread (eg. test(...args) allowed since we dont ship with Array
// polyfills except `arguments` spread as babel does not polyfill
// it since it can assume that it can `slice` w/o the use of helpers.
Expand Down

0 comments on commit 7faa08f

Please sign in to comment.