-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclippy.toml
More file actions
50 lines (37 loc) · 1.07 KB
/
Copy pathclippy.toml
File metadata and controls
50 lines (37 loc) · 1.07 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
# Clippy lint configuration for GraphWiz-XR
# Cognitive complexity threshold
cognitive-complexity-threshold = 30
# Disallowed methods
disallowed-methods = []
# Disallowed types
disallowed-types = []
# Documentation style
doc-valid-idents = [
"GraphQL",
"WebXR",
"WebRTC",
"WebTransport",
"JavaScript",
"TypeScript",
"Rust",
"PostgreSQL",
]
# Enforced import renames
enforced-import-renames = []
# Literal representation threshold
literal-representation-threshold = 10
# Maximum function lines
too-many-lines-threshold = 100
# Type complexity threshold
type-complexity-threshold = 250
# Single char binding names threshold
single-char-binding-names-threshold = 4
# Enum variant size threshold
enum-variant-size-threshold = 200
# Allow expect and unwrap in tests
allow-expect-in-tests = true
allow-unwrap-in-tests = true
# Suppress lints from dependencies
suppress-restriction-lint-in-const = false
# Blacklisted names (variable/function names to avoid)
blacklisted-names = ["foo", "bar", "baz", "quux"]