-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathclippy.toml
47 lines (39 loc) · 1.15 KB
/
clippy.toml
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
# Check out Clippy at: https://rust-lang.github.io/rust-clippy/
allowed-scripts = ["Latin"]
avoid-breaking-exported-api = false
single-char-binding-names-threshold = 1
upper-case-acronyms-aggressive = true
warn-on-all-wildcard-imports = false
allow-dbg-in-tests = false
allow-expect-in-tests = true
allow-print-in-tests = false
allow-unwrap-in-tests = false
enum-variant-name-threshold = 2
enum-variant-size-threshold = 200
max-fn-params-bools = 1
max-struct-bools = 3
max-trait-bounds = 2
max-suggested-slice-pattern-length = 3
too-many-arguments-threshold = 3
too-many-lines-threshold = 100
absolute-paths-allowed-crates = ["log", "trash"]
allowed-duplicate-crates = [
"windows",
"windows-targets",
"windows_aarch64_gnullvm",
"windows_aarch64_msvc",
"windows_i686_gnu",
"windows_i686_msvc",
"windows_x86_64_gnu",
"windows_x86_64_gnullvm",
"windows_x86_64_msvc",
]
arithmetic-side-effects-allowed = []
arithmetic-side-effects-allowed-binary = []
arithmetic-side-effects-allowed-unary = []
disallowed-macros = []
disallowed-methods = []
disallowed-names = []
disallowed-types = []
enforced-import-renames = []
doc-valid-idents = []