Files
sasedev-knowledge/clippy.toml
2026-09-27 22:02:32 +02:00

23 lines
656 B
TOML

# file: clippy.toml
# version: 1
too-many-arguments-threshold = 16
type-complexity-threshold = 250
single-char-binding-names-threshold = 3
trivial-copy-size-limit = 16
pass-by-value-size-limit = 256
stack-size-threshold = 512000
vec-box-size-threshold = 4096
max-fn-params-bools = 2
max-include-file-size = 1048576
cognitive-complexity-threshold = 25
too-large-for-stack = 2048
enum-variant-size-threshold = 200
large-error-threshold = 128
avoid-breaking-exported-api = true
allow-unwrap-in-tests = true
allow-expect-in-tests = true
allow-useless-vec-in-tests = true
disallowed-names = ["foo", "bar", "baz", "tmp"]
allowed-idents-below-min-chars = ["id"]