-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdylint.toml
More file actions
21 lines (21 loc) · 1 KB
/
Copy pathdylint.toml
File metadata and controls
21 lines (21 loc) · 1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
[mordant]
# Ratchet: per-(lint, file) counts of the findings that predate the job. A PR
# fails only when it adds one. Regenerate after fixing some or bumping mordant:
# bun run rust:mordant:baseline
baseline = "mordant-baseline.toml"
validator-resource-errors = ["bun_alloc::AllocError", "bun_sys::Error", "bun_errno::SystemErrno"]
# Lints this repo has decided not to act on. Everything else in the pack is
# on; add a lint here only with a reason.
disabled = [
# "list the variants instead of `_`": a per-site style call, ~500 today.
"wildcard_over_own_enum",
# Structs with several bools are nearly all option bags here; the state
# machines among them were found by hand once and are not worth the volume.
"bool_cluster",
# Most names it flags are real, on the C++/JS side or in a sibling crate.
"stale_safety_comment",
# Variants only ever tested through `!=` / `_`; checked, none were bugs.
"unread_error_variant",
# "make the guard a type": style.
"runtime_typestate",
]