Merge "Bazel: Remove suppression of JSC_REFERENCE_BEFORE_DECLARE" into stable-3.1

This commit is contained in:
David Ostrovsky 2019-12-26 11:52:56 +00:00 committed by Gerrit Code Review
commit 3b82967aed

View File

@ -22,8 +22,6 @@ def polygerrit_bundle(name, srcs, outs, app):
dependency_mode = "PRUNE_LEGACY",
)
# TODO(davido): Remove JSC_REFERENCE_BEFORE_DECLARE when this is fixed upstream:
# https://github.com/Polymer/polymer-resin/issues/7
closure_js_library(
name = name + "_closure_lib",
srcs = [appName + ".js"],
@ -32,7 +30,6 @@ def polygerrit_bundle(name, srcs, outs, app):
# and remove this supression
suppress = [
"JSC_JSDOC_MISSING_TYPE_WARNING",
"JSC_REFERENCE_BEFORE_DECLARE",
"JSC_UNNECESSARY_ESCAPE",
"JSC_UNUSED_LOCAL_ASSIGNMENT",
],