# Clippy linting configuration for crud-pricing # # This configures clippy lint rules for consistent code quality. # Run with: cargo clippy --all-targets --all-features # Warn on all clippy lints by default warn-on-all-wildcard-imports = true # Cognitive complexity threshold cognitive-complexity-threshold = 25 # Documentation missing-docs-in-private-items = false # Disallowed names (dummy variable names) disallowed-names = ["foo", "bar", "baz", "quux", "test", "data"] # Single char binding names single-char-binding-names-threshold = 4 # Type complexity threshold type-complexity-threshold = 100 # Too many arguments threshold too-many-arguments-threshold = 7 # Too many lines threshold too-many-lines-threshold = 150 # Enum variant name threshold enum-variant-name-threshold = 3