Fix other offenders
This commit is contained in:
@ -37,6 +37,7 @@ with (object) {
|
||||
</rule>
|
||||
|
||||
<rule name="ConsistentReturn"
|
||||
language="ecmascript"
|
||||
since="5.0"
|
||||
message="A function should not mix 'return' statements with and without a result."
|
||||
class="net.sourceforge.pmd.lang.ecmascript.rule.bestpractices.ConsistentReturnRule"
|
||||
|
Reference in New Issue
Block a user