conduwuit/clippy.toml
Jason Volk 4ec5d1e28e replace additional use tracing::
add log:: to disallowed-macros

Signed-off-by: Jason Volk <jason@zemos.net>
2024-11-14 04:50:07 +00:00

16 lines
761 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 = 700 # TODO reduce me to <= 100
type-complexity-threshold = 250 # reduce me to ~200
disallowed-macros = [
{ path = "log::error", reason = "use conduit_core::error" },
{ path = "log::warn", reason = "use conduit_core::warn" },
{ path = "log::info", reason = "use conduit_core::info" },
{ path = "log::debug", reason = "use conduit_core::debug" },
{ path = "log::trace", reason = "use conduit_core::trace" },
]