-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathclippy.toml
More file actions
16 lines (14 loc) · 856 Bytes
/
Copy pathclippy.toml
File metadata and controls
16 lines (14 loc) · 856 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Math helpers (lerp, color interpolation) conventionally use single-char names
# (a, b, t, r, g). Default threshold is 4; palette.rs::lerp uses 5.
single-char-binding-names-threshold = 5
# Runner and TUI event loops are tightly-coupled state machines.
# Default is 100; run_tui is 153 lines.
too-many-lines-threshold = 120
disallowed-macros = [
{ path = "std::assert", reason = "use assert2::assert! instead" },
{ path = "std::assert_eq", reason = "use assert2::assert!(a == b) instead" },
{ path = "std::assert_ne", reason = "use assert2::assert!(a != b) instead" },
{ path = "std::debug_assert", reason = "use assert2::debug_assert! instead" },
{ path = "std::debug_assert_eq", reason = "use assert2::debug_assert!(a == b) instead" },
{ path = "std::debug_assert_ne", reason = "use assert2::debug_assert!(a != b) instead" },
]