Skip to content
This repository was archived by the owner on Jul 29, 2026. It is now read-only.

Commit a517b8d

Browse files
committed
ci: update .trunk/trunk.yaml
1 parent eb178d5 commit a517b8d

1 file changed

Lines changed: 113 additions & 0 deletions

File tree

.trunk/trunk.yaml

Lines changed: 113 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,113 @@
1+
# =============================================================================
2+
# Trunk.io — Plugin versions for linting/formatting tools
3+
# =============================================================================
4+
# This file is auto-generated. Run `trunk upgrade` to update.
5+
# https://docs.trunk.io/check/reference
6+
# =============================================================================
7+
8+
plugins:
9+
sources:
10+
- id: trunk
11+
ref: v1.2.2
12+
- id: community
13+
ref: main
14+
15+
# Linters (auto-detected by file type)
16+
linters:
17+
actionlint:
18+
enabled: true
19+
commands:
20+
- name: actionlint
21+
run: actionlint ${target}
22+
direct_configs:
23+
- .github/workflows/*.yml
24+
black:
25+
enabled: true
26+
commands:
27+
- name: black
28+
run: black --check --line-length 100 ${target}
29+
direct_configs:
30+
- pyproject.toml
31+
- ruff.toml
32+
clippy:
33+
enabled: true
34+
commands:
35+
- name: clippy
36+
run: cargo clippy --all-targets --all-features -- -D warnings
37+
eslint:
38+
enabled: true
39+
direct_configs:
40+
- .eslintrc.*
41+
- eslint.config.*
42+
golangci-lint:
43+
enabled: true
44+
direct_configs:
45+
- .golangci.yml
46+
- .golangci.yaml
47+
mypy:
48+
enabled: true
49+
commands:
50+
- name: mypy
51+
run: mypy --ignore-missing-imports ${target}
52+
ruff:
53+
enabled: true
54+
commands:
55+
- name: ruff
56+
run: ruff check --output-format=github ${target}
57+
direct_configs:
58+
- ruff.toml
59+
- pyproject.toml
60+
shellcheck:
61+
enabled: true
62+
taplo:
63+
enabled: true
64+
yamllint:
65+
enabled: true
66+
67+
# Formatters
68+
formatters:
69+
black:
70+
enabled: true
71+
commands:
72+
- name: black
73+
run: black --line-length 100 ${target}
74+
direct_configs:
75+
- pyproject.toml
76+
prettier:
77+
enabled: true
78+
direct_configs:
79+
- .prettierrc
80+
- prettier.config.*
81+
rustfmt:
82+
enabled: true
83+
commands:
84+
- name: rustfmt
85+
run: rustfmt ${target}
86+
87+
# Actions (CI optimization)
88+
actions:
89+
trunk-check:
90+
enabled: true
91+
size: 5GB
92+
memory: 16GB
93+
disk: 10GB
94+
trunk-merge:
95+
enabled: true
96+
size: 5GB
97+
trunk-push:
98+
enabled: true
99+
size: 5GB
100+
101+
# Caching
102+
cache:
103+
enabled: true
104+
storage: local
105+
106+
# CLI
107+
cli:
108+
version: 1.22.2
109+
110+
# Environment
111+
env:
112+
variables:
113+
EDITOR: vim

0 commit comments

Comments
 (0)