| Index: third_party/closure_linter/closure_linter/error_check.py
|
| diff --git a/third_party/closure_linter/closure_linter/error_check.py b/third_party/closure_linter/closure_linter/error_check.py
|
| index 8d657fe9174fff4f2615f66bb3436466c6649a51..5fe2b92c776ec740316b1390359eba53df9c40aa 100755
|
| --- a/third_party/closure_linter/closure_linter/error_check.py
|
| +++ b/third_party/closure_linter/closure_linter/error_check.py
|
| @@ -89,6 +89,8 @@ def ShouldCheck(rule):
|
| Returns:
|
| True if the rule should be checked according to the flags, otherwise False.
|
| """
|
| + if 'no_' + rule in FLAGS.jslint_error:
|
| + return False
|
| if rule in FLAGS.jslint_error or Rule.ALL in FLAGS.jslint_error:
|
| return True
|
| # Checks strict rules.
|
|
|