Turning off a couple more warnings we'd like to ignore in JavaScriptLint.
This commit is contained in:
parent
7450df8104
commit
61852aaddc
|
@ -5,15 +5,15 @@
|
||||||
-equal_as_assign # test for equality (==) mistyped as assignment (=)?{0}
|
-equal_as_assign # test for equality (==) mistyped as assignment (=)?{0}
|
||||||
+var_hides_arg # variable {0} hides argument
|
+var_hides_arg # variable {0} hides argument
|
||||||
+redeclared_var # redeclaration of {0} {1}
|
+redeclared_var # redeclaration of {0} {1}
|
||||||
+anon_no_return_value # anonymous function does not always return a value
|
-anon_no_return_value # anonymous function does not always return a value
|
||||||
+missing_semicolon # missing semicolon
|
+missing_semicolon # missing semicolon
|
||||||
+meaningless_block # meaningless block; curly braces have no impact
|
+meaningless_block # meaningless block; curly braces have no impact
|
||||||
+comma_separated_stmts # multiple statements separated by commas (use semicolons?)
|
-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 # missing break statement
|
||||||
+missing_break_for_last_case # missing break statement for last case in switch
|
+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 !==)
|
-comparison_type_conv # comparisons against null, 0, true, false, or an empty string allowing implicit type conversion (use === or !==)
|
||||||
+inc_dec_within_stmt # increment (++) and decrement (--) operators used as part of greater statement
|
-inc_dec_within_stmt # increment (++) and decrement (--) operators used as part of greater statement
|
||||||
+useless_void # use of the void type may be unnecessary (void is always undefined)
|
+useless_void # use of the void type may be unnecessary (void is always undefined)
|
||||||
+multiple_plus_minus # unknown order of operations for successive plus (e.g. x+++y) or minus (e.g. x---y) signs
|
+multiple_plus_minus # unknown order of operations for successive plus (e.g. x+++y) or minus (e.g. x---y) signs
|
||||||
+use_of_label # use of label
|
+use_of_label # use of label
|
||||||
|
|
Loading…
Reference in New Issue