forked from package-url/packageurl-js
 
 
 - 
  Notifications
 You must be signed in to change notification settings 
- Fork 2
Commit 53b673b
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 22f3f0c commit 53b673b
1 file changed
+20
-0
lines changed| 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