version: 0.1
cli:
  version: 1.25.0
plugins:
  sources:
    - id: trunk
      ref: v1.10.0
      uri: https://github.com/trunk-io/plugins
repo:
  repo:
    host: github.com
    owner: z-shell
    name: src
lint:
  definitions:
    - name: shfmt
      commands:
        - name: format
          output: shfmt
          run: shfmt -w -s -ln=bash -i 2 ${target}
          success_codes: [0, 1]
          cache_results: true
          formatter: true
          batch: true
          in_place: true
  disabled:
    - yamllint
    - trufflehog
    - renovate
    - checkov
    - trivy
  enabled:
    - git-diff-check@SYSTEM
    - actionlint@1.7.12
    - gitleaks@8.30.1
    - markdownlint@0.48.0
    - prettier@3.8.3
    - shellcheck@0.11.0
    - shfmt@3.6.0
    - taplo@0.10.0
actions:
  enabled:
    - trunk-announce
    - trunk-check-pre-push
    - trunk-fmt-pre-commit
    - trunk-upgrade-available
    - trunk-cache-prune
runtimes:
  enabled:
    - python@3.14.4
    - go@1.21.0
    - node@22.16.0
