mirror of
https://github.com/rommapp/romm.git
synced 2026-10-12 02:21:58 +00:00
* chore(trunk): Upgrade trunk * fix(trunk): keep pinact on 4.1.1 until the plugin passes --format Addresses Greptile's review on #5137: pinact 5 rejects the plugin's -format flag, so every workflow check reported a config error. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]> --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Georges-Antoine Assi <[email protected]> Co-authored-by: Claude Opus 5.5 (1M context) <[email protected]>
114 lines
3.5 KiB
YAML
114 lines
3.5 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
|
|
sha256:
|
|
darwin_arm64: 2cff4f1cc63916db290359a058b88167beeac07a496682d9307a1804b498f225
|
|
darwin_x86_64: d0153b87a7eba4cd7d09a048b97bd60ac3ac15352def2bc3599d548875823ed3
|
|
linux_x86_64: 3845ff76a70cebb10e61a267ff719ffdccfa3ef6d877d51870a2c62b79603ab9
|
|
linux_arm64: cc210d2185cf95bedbec06384be6ef342bdb7dcf3ff72dd08fe0e69859516887
|
|
windows_x86_64: d883930b487d12a47e2c42fb83391417db4c4254c7346720c11e6a947c305a2c
|
|
mingw_x86_64: 739f6aabc91d9ba4bce894314e01ab56d2c11b573c921b6f8caed6393c66c5f1
|
|
# Trunk provides extensibility via plugins. (https://docs.trunk.io/plugins)
|
|
plugins:
|
|
sources:
|
|
- id: trunk
|
|
ref: v1.11.0
|
|
uri: https://github.com/trunk-io/plugins
|
|
# Many linters and tools depend on runtimes - configure them here. (https://docs.trunk.io/runtimes)
|
|
runtimes:
|
|
enabled:
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
# This is the section where you manage your linters. (https://docs.trunk.io/check/configuration)
|
|
lint:
|
|
disabled:
|
|
- svgo
|
|
- oxipng
|
|
- pyright
|
|
# Trunk's venv lacks the project's packages; mypy.yml runs it against uv's.
|
|
- mypy
|
|
enabled:
|
|
- [email protected]
|
|
# pinact 5 accepts only --format, but the Trunk plugin release passes -format.
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- git-diff-check
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]:
|
|
packages:
|
|
- "@trivago/[email protected]"
|
|
- "@vue/[email protected]"
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
- [email protected]
|
|
ignore:
|
|
- linters: [ALL]
|
|
paths:
|
|
- frontend/src/__generated__/**
|
|
- docker/Dockerfile
|
|
- docker/nginx/js/**
|
|
# Vendored patcherjs library
|
|
- backend/utils/rom_patcher/patcher.js
|
|
# Vendored humanizer skill, kept byte-identical to upstream
|
|
- .claude/skills/humanizer/**
|
|
# Intentionally malformed YAML, used as a test fixture
|
|
- backend/tests/config/fixtures/config/malformed_config.yml
|
|
# Playwright reports, traces and saved sessions (also gitignored)
|
|
- frontend/e2e/.output/**
|
|
# The v1 UI is frozen and the freeze check blocks changes to these paths,
|
|
# so ESLint findings in its templates cannot lead to fixes. Its TypeScript
|
|
# stays covered, since that was already linted before .vue was.
|
|
- linters: [eslint]
|
|
paths:
|
|
- frontend/src/views/**/*.vue
|
|
- frontend/src/components/**/*.vue
|
|
- frontend/src/console/**/*.vue
|
|
- frontend/src/layouts/**/*.vue
|
|
files:
|
|
- name: vue
|
|
extensions: [vue]
|
|
definitions:
|
|
- name: eslint
|
|
files:
|
|
- javascript
|
|
- typescript
|
|
- vue
|
|
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
|