Skip to main content

max / pter

Universalize lint block and pin stable toolchain Adopt the shared clippy lint block, de-em-dash its comments per the no-em-dash brand rule, and pin channel=stable (rustfmt + clippy) so lint/format results are reproducible across machines. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author: Max Johnson <me@maxj.phd> · 2026-07-24 14:35 UTC
Commit: 93cd570a86c09fec16424beac98ebefc6f707bcc
Parent: b04e093
2 files changed, +8 insertions, -4 deletions
M Cargo.toml +4 -4
@@ -29,24 +29,24 @@ pedantic = { level = "warn", priority = -1 }
29 29 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
30 30 # else in `pedantic` stays a warning. Keep this block identical across repos.
31 31 module_name_repetitions = "allow"
32 - # Doc lints — no docs-completeness push underway.
32 + # Doc lints. No docs-completeness push is underway.
33 33 missing_errors_doc = "allow"
34 34 missing_panics_doc = "allow"
35 35 doc_markdown = "allow"
36 - # Numeric casts — endemic and mostly intentional in size/byte math.
36 + # Numeric casts. Endemic and mostly intentional in size and byte math.
37 37 cast_possible_truncation = "allow"
38 38 cast_sign_loss = "allow"
39 39 cast_precision_loss = "allow"
40 40 cast_possible_wrap = "allow"
41 41 cast_lossless = "allow"
42 - # Subjective structure/style nags — high churn, low signal.
42 + # Subjective structure and style nags. High churn, low signal.
43 43 must_use_candidate = "allow"
44 44 too_many_lines = "allow"
45 45 struct_excessive_bools = "allow"
46 46 similar_names = "allow"
47 47 items_after_statements = "allow"
48 48 single_match_else = "allow"
49 - # Frequent false-positives in TUI/router-heavy code across the ecosystem.
49 + # Frequent false-positives in TUI and router-heavy code.
50 50 match_same_arms = "allow"
51 51 unnecessary_wraps = "allow"
52 52 type_complexity = "allow"
@@ -0,0 +1,4 @@
1 + [toolchain]
2 + channel = "stable"
3 + profile = "minimal"
4 + components = ["rustfmt", "clippy"]