You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Biome plugin doesn't parse warnings or work with vcs.useIgnoreFile #1113
The biome plugin has two issues that cause lint errors to be silently dropped with Biome 2.x:
Issue 1: Regex only matches errors, not warnings
The current parse_regex only looks for × which Biome uses for errors, but Biome also uses ! for warnings. This causes all warning-level issues to be silently ignored.
Current regex:
' (?P.?):(?P\d+):(?P\d+) (?P[^ ]+)(?:[^×]\n).× (?P.*)\n'
[×!] instead of just × to match both error and warning markers
[\s\S]*? instead of .* to properly match across newlines (non-greedy)
Issue 2: VCS configuration causes silent failures
When a project has vcs.useIgnoreFile: true in biome.json, Biome fails when Trunk runs it from a temp directory because it can't find .gitignore:
internalError/fs: Biome couldn't find an ignore file in the following folder: /tmp/trunk-501/...
configuration: Biome exited because the configuration resulted in errors.
This causes Trunk to report "No issues" even though Biome didn't actually run successfully.
Suggested fix: Either:
Document this limitation and recommend useIgnoreFile: false for Trunk users
Add run_from: root_or_parent_with_direct_config to the plugin so Biome runs from the project root
Copy .gitignore to the temp directory along with source files
Environment
Trunk CLI: 1.25.0
Trunk plugins: v1.7.4
Biome: 2.3.11
OS: macOS
Workaround
Add a custom biome definition to .trunk/trunk.yaml:
Activity