diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 87096b9..40f8905 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -16,6 +16,13 @@ runtimes: - python@3.10.8 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: + definitions: + - name: clippy + commands: + - name: lint + run: + cargo clippy --message-format json --locked --all-targets + --all-features -- --cap-lints=warn --no-deps enabled: - actionlint@1.7.1 - checkov@3.2.238