2026-04-02
This commit is contained in:
parent
5f332f4068
commit
15371d2469
13 changed files with 295 additions and 125 deletions
23
mago.toml
23
mago.toml
|
|
@ -15,18 +15,39 @@ threads = 8
|
|||
ambiguous-function-call = { enabled = true }
|
||||
halstead = { effort-threshold = 7000 }
|
||||
literal-named-argument = { enabled = false }
|
||||
no-inline = { enabled = true }
|
||||
no-redundant-readonly = { enabled = true }
|
||||
no-redundant-use = { enabled = true }
|
||||
no-variable-variable = { enabled = true }
|
||||
require-namespace = { enabled = true }
|
||||
|
||||
[analyzer]
|
||||
allow-possibly-undefined-array-keys = true
|
||||
allow-possibly-undefined-array-keys = false
|
||||
analyze-dead-code = true
|
||||
check-arrow-function-missing-type-hints = true
|
||||
check-closure-missing-type-hints = true
|
||||
check-missing-override = true
|
||||
check-missing-type-hints = true
|
||||
check-property-initialization = true
|
||||
check-throws = true
|
||||
check-use-statements = true
|
||||
enforce-class-finality = true
|
||||
find-unused-definitions = true
|
||||
find-unused-expressions = true
|
||||
find-unused-parameters = true
|
||||
no-boolean-literal-comparison = false
|
||||
perform-heuristic-checks = true
|
||||
plugins = ["psl"]
|
||||
require-api-or-internal = true
|
||||
strict-list-index-checks = true
|
||||
trust-existence-checks = false
|
||||
|
||||
[analyzer.performance]
|
||||
saturation-complexity-threshold = 16384
|
||||
disjunction-complexity-threshold = 8192
|
||||
negation-complexity-threshold = 8192
|
||||
consensus-limit-threshold = 512
|
||||
formula-size-threshold = 1024
|
||||
string-combination-threshold = 256
|
||||
integer-combination-threshold = 256
|
||||
array-combination-threshold = 256
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue