Fix other offenders

This commit is contained in:
Clément Fournier
2020-07-06 14:02:21 +02:00
parent b710465411
commit 8add323403
15 changed files with 130 additions and 1 deletions

View File

@ -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"