# 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.22.10
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
ref: v1.6.7
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.20.5
- python@3.10.8
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
disabled:
- black
enabled:
- semgrep@1.110.0
- pre-commit-hooks@5.0.0
- trivy@0.59.1
- osv-scanner@1.9.2
- actionlint@1.7.7
- bandit@1.8.3
- checkov@3.2.379
- isort@6.0.1
- ruff@0.9.9
- shellcheck@0.10.0
- shfmt@3.6.0
- taplo@0.9.3
- yamllint@1.35.1
- git-diff-check
- markdownlint@0.44.0
- prettier@3.5.3
- trufflehog@3.88.14
actions:
enabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
- trunk-upgrade-available