diff --git a/.trunk/trunk.yaml b/.trunk/trunk.yaml index 8f3074b26..ac2fbcc1d 100644 --- a/.trunk/trunk.yaml +++ b/.trunk/trunk.yaml @@ -43,7 +43,7 @@ lint: # enabled linters inherited from github.com/trunk-io/configs plugin - definition-checker - eslint@9.13.0 - - trunk-toolbox@0.4.1 + - trunk-toolbox@0.5.0 disabled: - pylint # pylint diagnostics are too strict - semgrep diff --git a/linters/trunk-toolbox/plugin.yaml b/linters/trunk-toolbox/plugin.yaml index 561c98a7d..a2ff5097b 100644 --- a/linters/trunk-toolbox/plugin.yaml +++ b/linters/trunk-toolbox/plugin.yaml @@ -2,7 +2,7 @@ version: 0.1 downloads: - name: trunk-toolbox - version: 0.4.1 + version: 0.5.0 downloads: - os: linux: unknown-linux-gnu @@ -17,13 +17,14 @@ tools: - name: trunk-toolbox download: trunk-toolbox shims: [trunk-toolbox] - known_good_version: 0.4.1 + known_good_version: 0.5.0 lint: definitions: - name: trunk-toolbox description: Repository level linting tools main_tool: trunk-toolbox files: [ALL] + affects_cache: [toolbox.toml, log4rs.yaml] commands: - name: lint version: ">=0.4.1" @@ -33,7 +34,10 @@ lint: output: sarif batch: true success_codes: [0] + disable_upstream: false read_output_from: tmp_file + direct_configs: [toolbox.toml] + max_concurrency: 1 - name: lint run: trunk-toolbox --upstream=${upstream-ref} --results=${tmpfile} ${target} output: sarif