More strict method parameter naming to prevent dumb parameter names such as arg0
This commit is contained in:
parent
d42ae2c3fd
commit
a70242ac89
@ -115,5 +115,8 @@
|
|||||||
<module name="MethodParamPad"/>
|
<module name="MethodParamPad"/>
|
||||||
<module name="ParenPad"/>
|
<module name="ParenPad"/>
|
||||||
<module name="TypecastParenPad"/>
|
<module name="TypecastParenPad"/>
|
||||||
|
<module name="ParameterName">
|
||||||
|
<property name="format" value="^(?!arg[0-9])[a-z][a-zA-Z0-9]*$" />
|
||||||
|
</module>
|
||||||
</module>
|
</module>
|
||||||
</module>
|
</module>
|
||||||
|
Loading…
Reference in New Issue
Block a user