Although the configuration file was mostly wrapped to a line-width of 80, some lines were wrapped slightly shorter. I fixed this. In general, all sentences were changed to start with a capital letter and end with a period or other punctuation mark. Many of the documentation commets read as, "config option to do XYZ". I shortened these to simply "do XYZ".
19 lines
909 B
TOML
19 lines
909 B
TOML
array-size-threshold = 4096
|
|
cognitive-complexity-threshold = 94 # TODO reduce me ALARA
|
|
excessive-nesting-threshold = 11 # TODO reduce me to 4 or 5
|
|
future-size-threshold = 7745 # TODO reduce me ALARA
|
|
stack-size-threshold = 196608 # reduce me ALARA
|
|
too-many-lines-threshold = 780 # TODO reduce me to <= 100
|
|
type-complexity-threshold = 250 # reduce me to ~200
|
|
|
|
disallowed-macros = [
|
|
{ path = "log::error", reason = "use conduwuit_core::error" },
|
|
{ path = "log::warn", reason = "use conduwuit_core::warn" },
|
|
{ path = "log::info", reason = "use conduwuit_core::info" },
|
|
{ path = "log::debug", reason = "use conduwuit_core::debug" },
|
|
{ path = "log::trace", reason = "use conduwuit_core::trace" },
|
|
]
|
|
|
|
disallowed-methods = [
|
|
{ path = "tokio::spawn", reason = "use and pass conduuwit_core::server::Server::runtime() to spawn from" },
|
|
]
|