# 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.9
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
  sources:
    - id: trunk
      ref: v1.6.6
      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:
  ignore:
    - linters: [markdownlint]
      paths:
        - LICENCE.md
  enabled:
    - hadolint@2.12.1-beta
    - shellcheck@0.10.0
    - shfmt@3.6.0
    - actionlint@1.7.7
    - checkov@3.2.357
    - git-diff-check
    - markdownlint@0.43.0
    - prettier@3.4.2
    - tflint@0.55.0
    - trivy@0.58.2
    - trufflehog@3.88.2
    - yamllint@1.35.1
actions:
  enabled:
    - trunk-announce
    - trunk-check-pre-push
    - trunk-fmt-pre-commit
    - trunk-upgrade-available