.trunk/trunk.yaml
# This file controls the behavior of Trunk: https://docs.trunk.io/cli
# To learn more about the format of this file, see https://docs.trunk.io/reference/trunk-yaml
version: 0.1
cli:
version: 1.21.0
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.4.5
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
- go@1.21.0
- node@18.12.1
- python@3.10.8
- rust@1.71.1
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
enabled:
- actionlint@1.6.27
- bandit@1.7.8
- black@24.3.0
- checkov@3.2.46
- git-diff-check
- gofmt@1.20.4
- golangci-lint@1.57.1
- hadolint@2.12.0
- isort@5.13.2
- markdownlint@0.39.0
- nixpkgs-fmt@1.3.0
- osv-scanner@1.7.0
- prettier@3.2.5
- ruff@0.3.4
- shellcheck@0.10.0
- shfmt@3.6.0
- taplo@0.8.1
- terrascan@1.19.1
- trivy@0.50.0
- trufflehog@3.71.0
- yamllint@1.35.1
actions:
disabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
enabled:
- trunk-upgrade-available