plugins
plugins copied to clipboard
Fix biome fmt error case
Fixes https://github.com/trunk-io/plugins/issues/771 for cases of malformed config. biome fmt outputs an exit code of 1. For lint, we have to have success_codes: [0, 1], but for format we can just have success_codes: [0] so that we better surface this error to users.
Also adds a relevant test case.
⏱️ 13m total CI duration on this PR
| Job | Cumulative Duration | Recent Runs |
|---|---|---|
| Windows Linter Tests | 4m | 🟩 |
| Linter Tests ubuntu-latest | 3m | 🟩 |
| Linter Tests macOS | 3m | 🟩 |
| CodeQL-Build | 2m | 🟩 |
| Trunk Check runner [linux] | 1m | 🟩 |
| Repo Tests / Plugin Tests | 40s | 🟩 |
| Aggregate Test Results | 4s | 🟩 |
| Detect changed files | 4s | 🟩 |