Skip to content

Commit 296505b

Browse files
authored
docs(FL0071.md): fix CyclomaticComplexity cfg (#703)
Rule settings JSON fragment didn't include the cyclomaticComplexity key.
1 parent ee4ecfb commit 296505b

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

docs/content/how-tos/rules/FL0071.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,10 @@ Reducing the cyclomatic complexity of a function typically involves decomposing
3232
There is a single setting applicable to the cyclomatic complexity, which is the maximum cyclomatic complexity.
3333

3434
{
35-
"enabled": true,
36-
"config": {
37-
"maxComplexity": 40
38-
}
35+
"cyclomaticComplexity": {
36+
"enabled": true,
37+
"config": {
38+
"maxComplexity": 40
39+
}
40+
}
3941
}
40-

0 commit comments

Comments
 (0)