Dev-Tools/.trunk/trunk.yaml

63 lines
1.5 KiB
YAML
Raw Normal View History

2024-04-14 16:50:37 +00:00
# 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:
2025-08-18 11:26:43 +00:00
version: 1.25.0
2024-04-14 16:50:37 +00:00
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
2025-08-18 11:26:43 +00:00
ref: v1.7.1
2024-04-14 16:50:37 +00:00
uri: https://github.com/trunk-io/plugins
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
runtimes:
enabled:
2025-08-18 11:26:43 +00:00
- php@>=8.0.0
2024-05-17 07:49:08 +00:00
- go@1.21.0
2025-08-18 11:26:43 +00:00
- node@22.16.0
2024-04-14 16:50:37 +00:00
- python@3.10.8
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
2024-05-17 09:19:40 +00:00
disabled:
- trufflehog # Trufflehog duplicates gitleaks functionality.
- terrascan
- trivy
2024-04-14 16:50:37 +00:00
enabled:
2025-08-18 11:26:43 +00:00
- gitleaks@8.28.0
- markdownlint@0.45.0
- taplo@0.9.3
- actionlint@1.7.7
- checkov@3.2.461
2024-04-14 16:50:37 +00:00
- git-diff-check
2025-08-18 11:26:43 +00:00
- prettier@3.6.2
- yamllint@1.37.1
2024-05-17 07:49:08 +00:00
definitions:
- name: markdownlint
direct_configs:
- .markdownlintignore
- .markdownlint.yaml
2024-04-14 16:50:37 +00:00
actions:
2024-05-17 07:49:08 +00:00
disabled:
- trunk-upgrade-available
2024-04-14 16:50:37 +00:00
enabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
2024-05-17 07:49:08 +00:00
tools:
enabled:
- tfupdate@0.8.2
2025-08-18 11:26:43 +00:00
- phpstan@2.0.3
- gh@2.76.2
2024-05-17 07:49:08 +00:00
- jq@jq-1.7.1
- yq@4.44.1
- awscli@1.32.107
- action-validator@0.6.0
- act@0.2.62
2025-08-18 11:26:43 +00:00
- shellcheck@0.11.0
2024-05-17 07:49:08 +00:00
- hadolint@2.12.0
2025-08-18 11:26:43 +00:00
- svgo@4.0.0
2024-05-17 07:49:08 +00:00
- tofu@1.7.1
2025-08-18 11:26:43 +00:00
- trunk-toolbox@0.5.4
- tflint@0.58.1
2024-05-17 07:49:08 +00:00
- terraform@1.1.4