Opinionated.tf/.trunk/trunk.yaml

43 lines
1.1 KiB
YAML
Raw Permalink Normal View History

2024-05-02 16:16:39 +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-01-25 01:48:26 +00:00
version: 1.22.9
2024-05-02 16:16:39 +00:00
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
plugins:
sources:
- id: trunk
2025-01-25 01:48:26 +00:00
ref: v1.6.6
2024-05-02 16:16:39 +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-01-25 01:48:26 +00:00
- go@1.21.0
- node@18.20.5
2024-05-02 16:16:39 +00:00
- python@3.10.8
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
2024-07-31 10:34:01 +00:00
ignore:
- linters: [markdownlint]
paths:
- LICENCE.md
2024-05-02 16:16:39 +00:00
enabled:
2025-01-25 01:48:26 +00:00
- hadolint@2.12.1-beta
- shellcheck@0.10.0
- shfmt@3.6.0
- actionlint@1.7.7
- checkov@3.2.357
2024-05-02 16:16:39 +00:00
- git-diff-check
2025-01-25 01:48:26 +00:00
- markdownlint@0.43.0
- prettier@3.4.2
- tflint@0.55.0
- trivy@0.58.2
- trufflehog@3.88.2
2024-05-02 16:16:39 +00:00
- yamllint@1.35.1
actions:
enabled:
- trunk-announce
- trunk-check-pre-push
- trunk-fmt-pre-commit
- trunk-upgrade-available