# sonarjs/nested-control-flow

📝 Control flow statements "if", "for", "while", "switch" and "try" should not be nested too deeply.

🚫 This rule is _disabled_ in the ✅ `recommended` config.

<!-- end auto-generated rule header -->

## Options

<!-- begin auto-generated rule options list -->

| Name                  | Type    | Default |
| :-------------------- | :------ | :------ |
| `maximumNestingLevel` | Integer | `3`     |

<!-- end auto-generated rule options list -->
