# 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:
    - php@>=8.0.0
    - 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:
    - trufflehog # Trufflehog duplicates gitleaks functionality.
    - terrascan
    - trivy
  enabled:
    - gitleaks@8.23.3
    - markdownlint@0.44.0
    - taplo@0.9.3
    - actionlint@1.7.7
    - checkov@3.2.370
    - git-diff-check
    - prettier@3.5.1
    - 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@2.0.3
    - gh@2.67.0
    - jq@jq-1.7.1
    - yq@4.45.1
    - awscli@1.37.21
    - action-validator@0.6.0
    - act@0.2.74
    - shellcheck@0.10.0
    - hadolint@2.12.0
    - svgo@3.3.2
    - tofu@1.9.0
    - trunk-toolbox@0.5.4
    - tflint@0.55.1
    - terraform@1.1.4