# 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.8 # Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) plugins: sources: - id: trunk ref: v1.6.4 uri: https://github.com/trunk-io/plugins # Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes) runtimes: enabled: - php@>=8.0.0 - 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 enabled: - gitleaks@8.21.1 - markdownlint@0.42.0 - taplo@0.9.3 - actionlint@1.7.4 - checkov@3.2.286 - git-diff-check - prettier@3.3.3 - yamllint@1.35.1 definitions: - name: markdownlint direct_configs: - .markdownlintignore - .markdownlint.yaml actions: disabled: - trunk-upgrade-available enabled: - trunk-announce - trunk-check-pre-push - trunk-fmt-pre-commit tools: enabled: - tfupdate@0.8.5 - phpstan@1.10.58 - gh@2.61.0 - jq@jq-1.7.1 - yq@4.44.3 - awscli@1.35.5 - action-validator@0.6.0 - act@0.2.68 - shellcheck@0.10.0 - hadolint@2.12.0 - svgo@3.3.2 - tofu@1.8.3 - trunk-toolbox@0.5.0 - tflint@0.54.0 - terraform@1.1.4