You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
693 B
36 lines
693 B
1 year ago
|
ignoreGeneratedHeader = false
|
||
|
severity = "error"
|
||
|
confidence = 0.8
|
||
|
errorCode = 1
|
||
|
warningCode = 0
|
||
|
enableAllRules = true
|
||
|
|
||
|
[rule.function-length]
|
||
|
arguments = [40,0]
|
||
|
severity = "warning"
|
||
|
[rule.function-result-limit]
|
||
|
arguments = [3]
|
||
|
[rule.argument-limit]
|
||
|
arguments = [5]
|
||
|
[rule.cognitive-complexity]
|
||
|
arguments = [7]
|
||
|
[rule.cyclomatic]
|
||
|
arguments = [10]
|
||
|
[rule.line-length-limit]
|
||
|
arguments = [100]
|
||
|
severity = "warning"
|
||
|
[rule.comment-spacings]
|
||
|
severity = "warning"
|
||
|
[rule.empty-lines]
|
||
|
severity = "warning"
|
||
|
|
||
|
# Disabled rules
|
||
|
[rule.max-public-structs]
|
||
|
disabled = true
|
||
|
[rule.file-header]
|
||
|
disabled = true
|
||
|
[rule.add-constant]
|
||
|
disabled = true
|
||
|
[rule.banned-characters]
|
||
|
disabled = true
|