diff options
Diffstat (limited to 'config/checkstyle/checkstyle-best-practice.xml')
-rw-r--r-- | config/checkstyle/checkstyle-best-practice.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/checkstyle/checkstyle-best-practice.xml b/config/checkstyle/checkstyle-best-practice.xml index 3abe4b5e5..410251d6c 100644 --- a/config/checkstyle/checkstyle-best-practice.xml +++ b/config/checkstyle/checkstyle-best-practice.xml @@ -244,5 +244,14 @@ <property name="exceptionVariableName" value="expected"/> </module> <module name="CommentsIndentation"/> + <module name="NestedIfDepth"> + <property name="max" value="4"/> + </module> + <module name="NestedTryDepth"> + <property name="max" value="2"/> + </module> + <module name="NestedForDepth"> + <property name="max" value="2"/> + </module> </module> </module> |