Files
bun-src/dylint.toml
T
2026-08-27 21:09:14 +00:00

22 lines
1.0 KiB
TOML

[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",
]