File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -217,13 +217,13 @@ try {
217217
218218The ` expressionComplexity ` rule measures five AST metrics. Each can be configured independently — set to ` Infinity ` to disable a metric:
219219
220- | Metric | What it measures | Default |
221- | -------------- | ------------------------------------------------ | ------- | ------------ | --- |
222- | ` maxAstNodes ` | Total AST node count | 50 |
223- | ` maxDepth ` | Maximum nesting depth | 8 |
224- | ` maxCalls ` | Contract method call nodes in the AST | 10 |
225- | ` maxOperators ` | Arithmetic, comparison, and membership operators | 15 |
226- | ` maxBranches ` | Ternary (` ?: ` ) and logical (` && ` , ` | | `) branching | 6 |
220+ | Metric | What it measures | Default |
221+ | -------------- | ---------------------------------------------------- | ------- |
222+ | ` maxAstNodes ` | Total AST node count | 50 |
223+ | ` maxDepth ` | Maximum nesting depth | 8 |
224+ | ` maxCalls ` | Contract method call nodes in the AST | 10 |
225+ | ` maxOperators ` | Arithmetic, comparison, and membership operators | 15 |
226+ | ` maxBranches ` | Ternary (` ?: ` ) and logical (` && ` , ` \|\ | ` ) branching | 6 |
227227
228228` maxOperators ` and ` maxBranches ` are distinct — ` && ` /` || ` count as branches only, not operators.
229229
You can’t perform that action at this time.
0 commit comments