Files
romm/.trunk/trunk.yaml
2026-01-17 22:31:48 -05:00

85 lines
2.0 KiB
YAML

# 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:
- go@1.21.0
- node@22.16.0
- python@3.13.3
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
lint:
disabled:
- svgo
- oxipng
- pyright
enabled:
- dotenv-linter@4.0.0
- hadolint@2.14.0
- markdownlint@0.47.0
- eslint@9.39.2
- actionlint@1.7.10
- bandit@1.9.2
- black@25.12.0
- checkov@3.2.497
- git-diff-check
- isort@7.0.0
- mypy@1.19.1
- osv-scanner@2.3.2
- prettier@3.8.0:
packages:
- "@trivago/prettier-plugin-sort-imports@6.0.2"
- "@vue/compiler-sfc@3.5.26"
- ruff@0.14.13
- shellcheck@0.11.0
- shfmt@3.6.0
- taplo@0.10.0
- trivy@0.68.2
- trufflehog@3.92.5
- yamllint@1.38.0
ignore:
- linters: [ALL]
paths:
- frontend/src/__generated__/**
- docker/Dockerfile
- docker/nginx/js/**
files:
- name: vue
extensions: [vue]
definitions:
- name: eslint
files:
- javascript
- typescript
commands:
- name: lint
run_from: ${root_or_parent_with_any_config}
- name: prettier
files:
- typescript
- yaml
- css
- postcss
- html
- markdown
- json
- javascript
- graphql
- vue
- prettier_supported_configs
actions:
disabled:
- trunk-check-pre-push
enabled:
- trunk-announce
- trunk-fmt-pre-commit
- trunk-upgrade-available