# 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.3 # Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) plugins: sources: - id: trunk ref: v1.6.2 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 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: disabled: - trufflehog # Trufflehog duplicates gitleaks functionality. - terrascan - trivy - checkov enabled: - hadolint@2.12.0 - tflint@0.53.0 - gitleaks@8.18.4 - markdownlint@0.41.0 - taplo@0.9.3 - actionlint@1.7.1 - git-diff-check - prettier@3.3.3 - yamllint@1.35.1 definitions: - name: markdownlint direct_configs: - .markdownlintignore - .markdownlint.yaml actions: enabled: - trunk-announce - trunk-check-pre-push - trunk-fmt-pre-commit - trunk-upgrade-available tools: enabled: - tfupdate@0.8.2 - gh@2.49.2 - jq@jq-1.7.1 - yq@4.44.1 - awscli@1.33.17 - action-validator@0.6.0 - act@0.2.65 - shellcheck@0.10.0 - hadolint@2.12.0 - tofu@1.8.1 - trunk-toolbox@0.3.2 - tflint@0.53.0 - terraform@1.9.0