# "max-depth" Rule Defines a max depth a ISML tree node can have. This is a good rule to keep your templates' complexity low. ## Notes - Dependent on abstract tree build (global "disableTreeParse" configuration must **not** be true); ## Configuration Following are the available configurations for this rule, with default values: ```js "max-depth": { value: 10 } ``` Check the [Generic Configurations for Rules][generic-config]. ## Examples ```js "max-depth": { value: 2 } ``` For the above configuration, the following scenarios may happen: ```