# 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.2
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
  sources:
    - id: trunk
      ref: v1.6.0
      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:
  enabled:
    - shellcheck@0.10.0
    - shfmt@3.6.0
    - taplo@0.8.1
    - actionlint@1.7.1
    - bandit@1.7.9
    - black@24.4.2
    - codespell
    - checkov@3.2.139
    - git-diff-check
    - isort@5.13.2
    - pylint
    - markdownlint@0.41.0
    - prettier@3.3.2
    - ruff@0.4.9
    - trivy@0.52.2
    - trufflehog@3.78.1
    - yamllint@1.35.1
actions:
  disabled:
    - trunk-announce
    - trunk-check-pre-push
    - trunk-fmt-pre-commit
  enabled:
    - trunk-upgrade-available
