# 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.15 # Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) plugins: sources: - id: trunk ref: v1.6.8 uri: https://github.com/trunk-io/plugins # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: enabled: - node@18.20.5 - python@3.10.8 - go@1.24.3 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: disabled: - markdownlint - yamllint enabled: - checkov@3.2.416 - golangci-lint2@2.1.6 - hadolint@2.12.1-beta - actionlint@1.7.7 - git-diff-check - gofmt@1.20.4 - osv-scanner@2.0.2 - oxipng@9.1.5 - prettier@3.5.3 - shellcheck@0.10.0 - shfmt@3.6.0 - trufflehog@3.88.29 actions: disabled: - trunk-announce - trunk-check-pre-push - trunk-fmt-pre-commit enabled: - trunk-upgrade-available