Skip to main content

max / supernote-push

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: df01474cdefd4465d2ad9ef3a0f823fe474425dd
Parent: b7c0f25
2 files changed, +8 insertions, -4 deletions
M Cargo.toml +4 -4
@@ -26,24 +26,24 @@ pedantic = { level = "warn", priority = -1 }
26 26 # (2026-07-22). These are the high-churn / low-signal pedantic lints; everything
27 27 # else in `pedantic` stays a warning. Keep this block identical across repos.
28 28 module_name_repetitions = "allow"
29 - # Doc lints — no docs-completeness push underway.
29 + # Doc lints. No docs-completeness push is underway.
30 30 missing_errors_doc = "allow"
31 31 missing_panics_doc = "allow"
32 32 doc_markdown = "allow"
33 - # Numeric casts — endemic and mostly intentional in size/byte math.
33 + # Numeric casts. Endemic and mostly intentional in size and byte math.
34 34 cast_possible_truncation = "allow"
35 35 cast_sign_loss = "allow"
36 36 cast_precision_loss = "allow"
37 37 cast_possible_wrap = "allow"
38 38 cast_lossless = "allow"
39 - # Subjective structure/style nags — high churn, low signal.
39 + # Subjective structure and style nags. High churn, low signal.
40 40 must_use_candidate = "allow"
41 41 too_many_lines = "allow"
42 42 struct_excessive_bools = "allow"
43 43 similar_names = "allow"
44 44 items_after_statements = "allow"
45 45 single_match_else = "allow"
46 - # Frequent false-positives in TUI/router-heavy code — added from the buckets breakdown.
46 + # Frequent false-positives in TUI and router-heavy code.
47 47 match_same_arms = "allow"
48 48 unnecessary_wraps = "allow"
49 49 type_complexity = "allow"
@@ -0,0 +1,4 @@
1 + [toolchain]
2 + channel = "stable"
3 + profile = "minimal"
4 + components = ["rustfmt", "clippy"]