Clippy is a linter for Rust. You can enable the Clippy linter with:Documentation Index
Fetch the complete documentation index at: https://docs.trunk.io/llms.txt
Use this file to discover all available pages before exploring further.
Auto Enabling
Clippy will be auto-enabled if any Rust files are present.Settings
Clippy supports the following config files:clippy.toml.clippy.toml
.trunk/configs and trunk check will still find them. See Moving Linters for more info.
Usage Notes
Clippy is distributed with rust itself, so specify your rust version for your clippy version (for exampleclippy@1.61.0).
Links
- Clippy site
- Clippy Trunk Code Quality integration source
- Trunk Code Quality’s open source plugins repo