1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Clippy configuration file for advanced settings
# This supplements the lint levels defined in Cargo.toml
# Minimum Supported Rust Version (MSRV)
# Adjust this based on your project's requirements
= "1.70.0"
# Avoid breaking exported API
= false
# Disallowed names (extend defaults with custom additions)
# Default list typically includes ["foo", "baz", "quux"]
= ["tmp", "temp", "..", "data", "value"]
# Maximum allowed cognitive complexity
= 30
# Enforce specific documentation style
# doc-valid-idents = ["GitHub", "GitLab", "JavaScript", "TypeScript"]
# Enum variant size threshold
= 512
# Function length threshold
= 100
# Type complexity threshold
= 250
# Trivially copy passable size threshold
= 256
# Allow certain unsafe operations if needed
# allow-unsafe-code = false
# Single character binding names to allow
= 4
# Literal representation threshold
= 10
# Stack size threshold for large stack arrays
= 512000