[javascriptlint-commit] SF.net SVN: javascriptlint:[363] trunk/javascriptlint/lint.py
Status: Beta
Brought to you by:
matthiasmiller
|
From: <mat...@us...> - 2016-12-23 23:38:51
|
Revision: 363
http://sourceforge.net/p/javascriptlint/code/363
Author: matthiasmiller
Date: 2016-12-23 23:38:49 +0000 (Fri, 23 Dec 2016)
Log Message:
-----------
Remove obsolete checks.
Modified Paths:
--------------
trunk/javascriptlint/lint.py
Modified: trunk/javascriptlint/lint.py
===================================================================
--- trunk/javascriptlint/lint.py 2016-12-23 23:35:40 UTC (rev 362)
+++ trunk/javascriptlint/lint.py 2016-12-23 23:38:49 UTC (rev 363)
@@ -352,9 +352,7 @@
def _lint_script_part(script_offset, jsversion, script, script_cache, conf,
report_parse_error, report_lint, import_callback):
def parse_error(offset, msg, msg_args):
- if not msg in ('anon_no_return_value', 'no_return_value',
- 'redeclared_var', 'var_hides_arg'):
- parse_errors.append((offset, msg, msg_args))
+ parse_errors.append((offset, msg, msg_args))
def report(node, errname, offset=0, **errargs):
if errname == 'empty_statement' and node.kind == tok.LC:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|