forked from IguanAI/adic-core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclippy.toml
More file actions
28 lines (19 loc) · 673 Bytes
/
clippy.toml
File metadata and controls
28 lines (19 loc) · 673 Bytes
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
# Clippy linting configuration for ADIC-Core
# Set the MSRV (Minimum Supported Rust Version)
msrv = "1.70"
# Warn on TODOs and FIXMEs
warn-on-all-wildcard-imports = true
# Maximum cognitive complexity
cognitive-complexity-threshold = 30
# Maximum number of lines in a function
too-many-lines-threshold = 100
# Maximum number of arguments to a function
too-many-arguments-threshold = 7
# Maximum nesting level
excessive-nesting-threshold = 10
# Enforce docs on public items
missing-docs-in-crate-items = true
# Disallow unsafe code unless explicitly allowed
disallowed-macros = []
# Maximum single char binding names to allow
single-char-binding-names-threshold = 4