Index: third_party/closure_compiler/checker.py |
diff --git a/third_party/closure_compiler/checker.py b/third_party/closure_compiler/checker.py |
index 2d56afc630f2a108794641dd781bd463046dc9e3..7e58e7940be7ec1cef3811eb470b62feb3131a1d 100644 |
--- a/third_party/closure_compiler/checker.py |
+++ b/third_party/closure_compiler/checker.py |
@@ -71,7 +71,9 @@ class Checker(object): |
"--jscomp_error=accessControls", |
"--jscomp_error=ambiguousFunctionDecl", |
"--jscomp_error=checkStructDictInheritance", |
- "--jscomp_error=checkTypes", |
+ # TODO(vitalyp): switch to jscomp_error after transition to new imports |
+ "--jscomp_warning=checkTypes", |
Dan Beam
2014/07/23 22:09:24
did @suppress {checkTypes} not work? i don't thin
Vitaly Pavlenko
2014/07/24 00:59:58
I'll enable it in the next CL where I switch to cr
|
+ # "--jscomp_error=newCheckTypes", |
"--jscomp_error=checkVars", |
"--jscomp_error=constantProperty", |
"--jscomp_error=deprecated", |
@@ -79,7 +81,8 @@ class Checker(object): |
"--jscomp_error=globalThis", |
"--jscomp_error=invalidCasts", |
"--jscomp_error=misplacedTypeAnnotation", |
- "--jscomp_error=missingProperties", |
+ # TODO(vitalyp): switch to jscomp_error after transition to new imports |
Dan Beam
2014/07/23 22:09:24
maybe we could stand for this, but why can't we ju
Vitaly Pavlenko
2014/07/24 01:09:31
I caught a situation when the suppress declaration
|
+ "--jscomp_warning=missingProperties", |
"--jscomp_error=missingReturn", |
"--jscomp_error=nonStandardJsDocs", |
"--jscomp_error=suspiciousCode", |