Type: feature
Context
Release: 1
Type: add
Priority: medium
Blocks: —
Blocked by: —
Status: todo
Description
The repository has no CI snippet for Clippy, the canonical linter for Rust. All major languages in the repo (Go, Python, Ruby, Java, Swift, Kotlin) already have a linter snippet, so Rust is the only obvious gap. The snippet belongs to the linters category and follows the established three-layer pattern.
Motivation
Rust projects rely on cargo clippy as their de-facto linter — there is no real alternative. A ready-made snippet lets downstream Rust projects drop a single-line uses: reference into their workflow and get meaningful lint feedback from day one.
Target Structure
scripts/shell/linters/clippy.sh ← new bash script
scripts/CI/linters/clippy.yml ← new source YAML
CI/linters/clippy.yml ← assembled output (generated)
tests/linters/clippy.bats ← BATS unit tests
Checklist
Affected Files
| File |
Change |
scripts/shell/linters/clippy.sh |
create |
scripts/CI/linters/clippy.yml |
create |
CI/linters/clippy.yml |
create (generated by assembler) |
tests/linters/clippy.bats |
create |
README.md |
add clippy row to snippets table |
Affected Files
No files specified
Checklist
No checklist items
Note
The task was generated using the MCP server — prog-time/mcp-github-issues
Type: feature
Context
Description
The repository has no CI snippet for Clippy, the canonical linter for Rust. All major languages in the repo (Go, Python, Ruby, Java, Swift, Kotlin) already have a linter snippet, so Rust is the only obvious gap. The snippet belongs to the
linterscategory and follows the established three-layer pattern.Motivation
Rust projects rely on
cargo clippyas their de-facto linter — there is no real alternative. A ready-made snippet lets downstream Rust projects drop a single-lineuses:reference into their workflow and get meaningful lint feedback from day one.Target Structure
Checklist
scripts/shell/linters/clippy.sh(requireCargo.toml, runcargo clippy --all-targets --all-features -- -D warnings)scripts/CI/linters/clippy.ymlwithdtolnay/rust-toolchain@stableandactions/cache@v4for cargo registry/targetCI/linters/clippy.ymlis generatedtests/linters/clippy.bats(missing Cargo.toml / clean / warning fixtures)clippyrow to thelinterscategory inREADME.mdbats tests/linters/clippy.bats— all tests passbats --recursive tests/— suite stays greenAffected Files
scripts/shell/linters/clippy.shscripts/CI/linters/clippy.ymlCI/linters/clippy.ymltests/linters/clippy.batsREADME.mdclippyrow to snippets tableAffected Files
No files specified
Checklist
No checklist items