forked from MettaChain/PropChain-contract
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclippy.toml
More file actions
64 lines (50 loc) · 1.47 KB
/
clippy.toml
File metadata and controls
64 lines (50 loc) · 1.47 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Clippy configuration for PropChain smart contracts
# Lint configuration
msrv = "1.70.0"
# Enable additional lints
cognitive-complexity-threshold = 30
too-many-arguments-threshold = 7
type-complexity-threshold = 250
single-char-binding-names-threshold = 4
trivial-copy-size-limit = 256
pass-by-value-size-limit = 256
too-many-lines-threshold = 100
array-size-threshold = 512000
vec-box-size-threshold = 4096
max-trait-bounds = 5
max-include-file-size = 1000000
# Documentation configuration
missing-docs-in-crate-items = false
# Metadatas configuration
avoid-breaking-exported-api = true
# Disallowed methods
disallowed-names = ["foo", "bar", "baz", "qux"]
# Enforced naming conventions
enforced-import-renames = []
# enforced-archetype-rename = []
# Upper case acronyms
upper-case-acronyms-aggressive = true
allowed-scripts = ["Latin"]
# Macro configuration
# macro-match-behaviour = "hygiene"
# External configuration
# external-doc = false
# extern-hard-links = false
# Literal configuration
literal-representation-threshold = 20
# literal-representation = "Hex"
# Self namespace configuration
# self-named-constructors = "deny"
# Format configuration
# format-args = "allow"
# format-push-str = "allow"
# format-use-stderr = "allow"
# Unsafe configuration
# unsafe-code = "deny"
# Test configuration
allow-expect-in-tests = true
allow-unwrap-in-tests = true
allow-dbg-in-tests = true
allow-mixed-uninlined-format-args = true
# Check-private-items configuration
check-private-items = false