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
# Clippy configuration for UTPM
# See https://doc.rust-lang.org/clippy/lint_configuration.html
# Warn on missing documentation for public items
# but allow some exceptions for obvious methods
= true
# Cognitive complexity threshold
= 25
# Type complexity threshold
= 250
# Disallowed methods (add methods you want to ban)
# Example: disallowed-methods = ["std::env::var"]
# Disallowed types
# Example: disallowed-types = ["std::collections::HashMap"]
# Standard library items
# Allow or deny certain std library items
# standard-macro-braces = true
# Allow certain patterns
# too-many-arguments-threshold = 7
# too-large-for-stack = 200
# Documentation settings
= false
# Numeric literals
# literal-representation-threshold = 10
# Single character names to allow
= 4
# Allow certain lints project-wide
# These can be overridden in specific files with #[allow(...)]