clean config files
ab00d077c96adccaf8469035fe67e5221d5f86c4
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
- Parent 1: 90878bbe5a8f
There are many coding harnesses - but this one is fast
ab00d077c96adccaf8469035fe67e5221d5f86c4
Oliver Jan Krylow <oliver@bugabinga.net> ·
unsigned
+53 / −42 text lines
deleted file mode 100644+0 / −16 text lines
# smith Clippy Configuration# See .system/RULES.md and .system/research/SMH-RESEARCH-RSCH0003-clippy-best-practices/index.md# for lint rationale and escape hatch policy.## NOTE: clippy.toml only supports configuration VALUES (thresholds, MSRV).# Lint enablement/disablement belongs in .cargo/config.toml rustflags.# See .cargo/config.toml for the full rustflags list.# -----------------------------------------------------------------------------# Cognitive Complexity Threshold# -----------------------------------------------------------------------------# TUI event routing naturally hits this. Review functions >20 during review.cognitive-complexity-threshold = 25# No MSRV pin: project tracks latest stable Rust.# Without msrv, clippy suggests idioms up to the current toolchain — desired.new file mode 100644+16 / −0 text lines
# smith Clippy Configuration# See .system/RULES.md and .system/research/SMH-RESEARCH-RSCH0003-clippy-best-practices/index.md# for lint rationale and escape hatch policy.## NOTE: clippy.toml only supports configuration VALUES (thresholds, MSRV).# Lint enablement/disablement belongs in .cargo/config.toml rustflags.# See .cargo/config.toml for the full rustflags list.# -----------------------------------------------------------------------------# Cognitive Complexity Threshold# -----------------------------------------------------------------------------# TUI event routing naturally hits this. Review functions >20 during review.cognitive-complexity-threshold = 25# No MSRV pin: project tracks latest stable Rust.# Without msrv, clippy suggests idioms up to the current toolchain — desired.new file mode 100644+26 / −0 text lines
[licenses]allow = [ "Apache-2.0", "MIT", "Unicode-3.0", "Unicode-DFS-2016", "ISC", "BSD-3-Clause", "MPL-2.0", "CDLA-Permissive-2.0", "Apache-2.0 WITH LLVM-exception", "Zlib",]confidence-threshold = 0.8[bans]multiple-versions = "warn"wildcards = "deny"[advisories]yanked = "deny"ignore = [][sources]unknown-registry = "deny"unknown-git = "deny"+1 / −0 text lines
- No configuration files in the repository root: tool configuration lives under `.config/`, inside `Cargo.toml`, or `.cargo/` where a tool hardcodes that path; `rust-toolchain.toml` and lockfiles excepted as toolchain-mandated.deleted file mode 100644+0 / −24 text lines
[licenses]allow = [ "Apache-2.0", "MIT", "Unicode-3.0", "Unicode-DFS-2016", "ISC", "BSD-3-Clause", "MPL-2.0", "CDLA-Permissive-2.0",]confidence-threshold = 0.8[bans]multiple-versions = "warn"wildcards = "deny"[advisories]yanked = "deny"ignore = [][sources]unknown-registry = "deny"unknown-git = "deny"+10 / −2 text lines
cargo(&["clippy", "--workspace", "--all-targets", "--all-features"]) match Command::new("cargo") .env("CLIPPY_CONF_DIR", ".config") .args(["clippy", "--workspace", "--all-targets", "--all-features"]) .status() { Ok(status) if status.success() => ExitCode::SUCCESS, Ok(status) => fail(&format!("cargo clippy exited with {status}\n")), Err(error) => fail(&format!("failed to run cargo clippy: {error}\n")), }