Commit 806a384
fix(check): skip exported config for formatters when workspace file exists
Load repository config files into the staging area before exported
configs so that workspace files take precedence. The existing
to.exists() guard in load_config_file_from naturally skips the
exported config when the workspace file is already present,
making formatter behavior consistent with linters.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent cb4269b commit 806a384
1 file changed
+14
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
314 | 314 | | |
315 | 315 | | |
316 | 316 | | |
317 | | - | |
| 317 | + | |
| 318 | + | |
| 319 | + | |
| 320 | + | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
| 324 | + | |
| 325 | + | |
| 326 | + | |
| 327 | + | |
| 328 | + | |
| 329 | + | |
| 330 | + | |
318 | 331 | | |
319 | 332 | | |
320 | 333 | | |
| |||
337 | 350 | | |
338 | 351 | | |
339 | 352 | | |
340 | | - | |
341 | | - | |
342 | | - | |
343 | | - | |
344 | | - | |
345 | | - | |
346 | | - | |
347 | | - | |
348 | | - | |
349 | | - | |
350 | 353 | | |
351 | 354 | | |
352 | 355 | | |
| |||
0 commit comments