swarm repositories / source
aboutsummaryrefslogtreecommitdiff
path: root/docs/rust-linting-proposal.md
diff options
context:
space:
mode:
authormain <main@swarm.moe>2026-04-17 22:08:47 -0400
committermain <main@swarm.moe>2026-04-17 22:08:47 -0400
commit372d366f541f4560a304d4d374bebc31aec6e8c3 (patch)
tree0ee6a8f869fd31cb33b7031c5991c17a1dfdf79d /docs/rust-linting-proposal.md
parent8048d67e5917b771be9aa819094aebf3936d0e98 (diff)
downloadrust_starter-372d366f541f4560a304d4d374bebc31aec6e8c3.zip
Install Rust style doctrine
Diffstat (limited to 'docs/rust-linting-proposal.md')
-rw-r--r--docs/rust-linting-proposal.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/rust-linting-proposal.md b/docs/rust-linting-proposal.md
index 88e5612..65f800f 100644
--- a/docs/rust-linting-proposal.md
+++ b/docs/rust-linting-proposal.md
@@ -507,7 +507,7 @@ If the goal is "force industrial-grade linting", ambient toolchain drift is the
Use this style:
-> Set up Rust linting with the `rust-starter` industrial profile: pin an exact stable `rust-toolchain.toml`; put repo policy only in root `[workspace.lints.{rust,rustdoc,clippy}]` plus manifest-owned canonicalization and verification command vectors and source-file-cap metadata in `workspace.metadata`; make every crate opt into `[lints] workspace = true`; make the default local `check` path canonicalize first, but keep a non-mutating `verify` path for CI; cherry-pick restriction bans instead of enabling `clippy::restriction`; keep repo-wide Clippy carve-outs centralized and commented in `Cargo.toml`; and require local suppressions to use `#[expect(..., reason = "...")]` unless a permanent `#[allow(..., reason = "...")]` is truly justified.
+> Set up Rust linting with the `rust-starter` industrial profile: link target `AGENTS.md` to [docs/rust-style-doctrine.md](/home/main/programming/projects/rust_starter/docs/rust-style-doctrine.md); pin an exact stable `rust-toolchain.toml`; put repo policy only in root `[workspace.lints.{rust,rustdoc,clippy}]` plus manifest-owned canonicalization and verification command vectors and source-file-cap metadata in `workspace.metadata`; make every crate opt into `[lints] workspace = true`; make the default local `check` path canonicalize first, but keep a non-mutating `verify` path for CI; cherry-pick restriction bans instead of enabling `clippy::restriction`; keep repo-wide Clippy carve-outs centralized and commented in `Cargo.toml`; and require local suppressions to use `#[expect(..., reason = "...")]` unless a permanent `#[allow(..., reason = "...")]` is truly justified.
That is long, but it is precise and inferable by a model.