fixed lint warnings and one flaky test

This commit is contained in:
Misko Hevery
2010-10-15 13:44:53 -07:00
parent d320e3d2c3
commit a36964799b
12 changed files with 575 additions and 571 deletions

View File

@@ -19,7 +19,7 @@
+missing_semicolon # missing semicolon
+meaningless_block # meaningless block; curly braces have no impact
+comma_separated_stmts # multiple statements separated by commas (use semicolons?)
+unreachable_code # unreachable code
-unreachable_code # unreachable code
-missing_break # missing break statement
+missing_break_for_last_case # missing break statement for last case in switch
+comparison_type_conv # comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)