# 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.25.0 # Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins) plugins: sources: - id: trunk ref: v1.7.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: - node@22.16.0 - python@3.10.8 - go@1.26.0 # This is the section where you manage your linters. (https://docs.trunk.io/check/configuration) lint: disabled: - bandit - black - isort - ruff enabled: - yamllint@1.38.0 - markdownlint@0.47.0 - checkov@3.2.501 - golangci-lint2@2.9.0 - hadolint@2.14.0 - actionlint@1.7.10 - git-diff-check - gofmt@1.20.4 - osv-scanner@2.3.3 - oxipng@10.1.0 - prettier@3.8.1 - shellcheck@0.11.0 - shfmt@3.6.0 - trufflehog@3.93.3 ignore: - linters: [ALL] paths: - internal/api/v1/docs/** actions: disabled: - trunk-announce enabled: - trunk-upgrade-available - trunk-check-pre-push - trunk-fmt-pre-commit