Skip to content

Add trunk-toolbox lint command configuration for v0.7.0+#1126

Merged
EliSchleifer merged 3 commits intomainfrom
claude/add-trunk-toolbox-version-h4ixK
Apr 21, 2026
Merged

Add trunk-toolbox lint command configuration for v0.7.0+#1126
EliSchleifer merged 3 commits intomainfrom
claude/add-trunk-toolbox-version-h4ixK

Conversation

@EliSchleifer
Copy link
Copy Markdown
Member

Summary

Added a new lint command configuration for trunk-toolbox v0.7.0 and later, enabling support for newer versions of the tool while maintaining backward compatibility with v0.5.3+.

Key Changes

  • Added a new lint command entry for trunk-toolbox versions >=0.7.0
  • Configured the command to use SARIF output format for structured linting results
  • Enabled batch processing with a max concurrency of 1 to optimize resource usage
  • Set up caching of results with upstream diff support via --upstream flag
  • Configured to read output from temporary files for proper result handling
  • Maintained the existing v0.5.3+ command configuration for backward compatibility

Implementation Details

  • The new command uses the same core arguments as the previous version but with updated version constraints
  • Cache invalidation is tied to toolbox.toml and log4rs.yaml changes
  • Direct configuration file references point to toolbox.toml for tool-specific settings
  • Upstream diffing is disabled (disable_upstream: false) to allow incremental linting

https://claude.ai/code/session_019EaP7GgfmUZB32T9DrQPGZ

Adds a new lint command definition for trunk-toolbox >=0.7.0 that passes
the --workspace=${workspace} flag to the binary.
@EliSchleifer EliSchleifer marked this pull request as ready for review April 21, 2026 21:10
claude added 2 commits April 21, 2026 21:16
The powershell/tap/powershell third-party Homebrew formula uses
'depends_on macos: :high_sierra' which is disabled in current Homebrew,
breaking Linter Tests macOS. Switch to the official 'powershell' cask
(Microsoft's recommended install method).
The 'powershell' Homebrew cask no longer exists and the 'powershell/tap'
formula uses a disabled macOS version constraint. GitHub macOS runners
come with PowerShell 7 pre-installed, and trunk's pwsh tool plugin
handles on-demand installation otherwise, so the brew install is
redundant.
@trunk-io
Copy link
Copy Markdown

trunk-io Bot commented Apr 21, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@EliSchleifer EliSchleifer enabled auto-merge (squash) April 21, 2026 23:16
@EliSchleifer EliSchleifer disabled auto-merge April 21, 2026 23:21
@EliSchleifer EliSchleifer merged commit b26eb90 into main Apr 21, 2026
21 of 23 checks passed
@EliSchleifer EliSchleifer deleted the claude/add-trunk-toolbox-version-h4ixK branch April 21, 2026 23:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants