diff options
author | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-19 16:50:33 +0000 |
---|---|---|
committer | dbeam@chromium.org <dbeam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-08-19 16:56:21 +0000 |
commit | 97863e565cff94f6b5808578030a02ae8c927e08 (patch) | |
tree | 12610201ff5a752a7803d4ada8ff7c290a8f3b2c /third_party | |
parent | ef167287c09531b2e0b1ce8104a54db0cff76c8f (diff) | |
download | chromium_src-97863e565cff94f6b5808578030a02ae8c927e08.zip chromium_src-97863e565cff94f6b5808578030a02ae8c927e08.tar.gz chromium_src-97863e565cff94f6b5808578030a02ae8c927e08.tar.bz2 |
closure: check all JS in strict mode.
R=tbreisacher@chromium.org
BUG=393873
NOTRY=true
Review URL: https://codereview.chromium.org/482913002
Cr-Commit-Position: refs/heads/master@{#290593}
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@290593 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rwxr-xr-x | third_party/closure_compiler/checker.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/third_party/closure_compiler/checker.py b/third_party/closure_compiler/checker.py index d71ca14..37478b6 100755 --- a/third_party/closure_compiler/checker.py +++ b/third_party/closure_compiler/checker.py @@ -20,9 +20,6 @@ class Checker(object): _COMMON_CLOSURE_ARGS = [ "--accept_const_keyword", - "--language_in=ECMASCRIPT5", - "--summary_detail_level=3", - "--warning_level=VERBOSE", "--jscomp_error=accessControls", "--jscomp_error=ambiguousFunctionDecl", "--jscomp_error=checkStructDictInheritance", @@ -45,6 +42,8 @@ class Checker(object): "--jscomp_error=visibility", # TODO(dbeam): happens when the same file is <include>d multiple times. "--jscomp_off=duplicate", + "--language_in=ECMASCRIPT5_STRICT", + "--summary_detail_level=3", ] _JAR_COMMAND = [ |