Commit eb6e2f6
committed
fix(lint): handle Biome 'no files processed' as success
When Biome receives files that are excluded by its configuration
(e.g., package.json, CHANGELOG.md), it exits with an error stating
"No files were processed in the specified paths". This is not a real
error - it just means Biome had nothing to do.
This change detects this specific error message and treats it as
success, allowing the linter to continue to the next linter (eslint)
instead of failing the entire lint run.
Fixes spurious lint failures in git hooks when staging files that
Biome doesn't process.1 parent 9d5ceb2 commit eb6e2f6
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
195 | 195 | | |
196 | 196 | | |
197 | 197 | | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
198 | 208 | | |
199 | 209 | | |
200 | 210 | | |
| |||
259 | 269 | | |
260 | 270 | | |
261 | 271 | | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
| 281 | + | |
262 | 282 | | |
263 | 283 | | |
264 | 284 | | |
| |||
0 commit comments