-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy patharch-lint.toml
More file actions
66 lines (58 loc) · 1.6 KB
/
arch-lint.toml
File metadata and controls
66 lines (58 loc) · 1.6 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
65
66
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
#
# Copyright 2026 Edgecast Cloud LLC.
# For description of rules see:
# https://github.com/ynishi/arch-lint?tab=readme-ov-file#available-rules
[analyzer]
respect_gitignore = true
exclude = [
"**/rust/**",
"**/deps/**",
"**/target/**",
"**/build.rs",
"**/tests/**",
"**/jira-stub-server/**",
# Build tools, not async services:
"openapi-manager/**",
"client-generator/**",
# Progenitor-generated code:
"**/src/generated.rs",
# To be modernized:
"cli/manatee-echo-resolver",
"libs/cueball-dns-resolver",
"libs/cueball-manatee-primary-resolver",
"libs/cueball-postgres-connection",
"libs/cueball-static-resolver",
"libs/cueball-tcp-stream-connection",
"libs/cueball",
"libs/fast",
"libs/libmanta",
"libs/moray",
"libs/quickcheck-helpers",
"libs/rebalancer-legacy/agent",
"libs/rebalancer-legacy/manager",
"libs/rebalancer-legacy/rebalancer",
"libs/rust-utils",
"libs/sharkspotter",
]
# Note: unwrap/expect is already caught by clippy (unwrap_used = "deny")
# prefer clippy
[rules.no-unwrap-expect]
enabled = false
[rules.no-sync-io]
enabled = true
severity = "error"
[rules.no-panic-in-lib]
enabled = true
severity = "error"
allow_in_tests = true
[rules.no-error-swallowing]
enabled = true
severity = "warning"
[rules.prefer-from-over-into]
enabled = true
severity = "warning"
[rules.tracing-env-init]
enabled = false