Skip to content

Commit d6884d7

Browse files
committed
Add a changeset
1 parent 83b6db7 commit d6884d7

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.changeset/blue-parts-lie.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
---
2+
"@biomejs/biome": patch
3+
---
4+
5+
Fix --stdin-file-path with nested configuration
6+
7+
Previously, --stdin-file-path was not using nested configuration.
8+
For example, with the following structure:
9+
10+
11+
```
12+
├── biome.json
13+
└── subdirectory
14+
├── biome.json
15+
├── lib.js
16+
└── lib.ts
17+
```
18+
19+
A command like `biome format --stdin-file-path=subdirectory/lib.ts <
20+
subdirectory/lib.ts` would fail to use configuration from
21+
`subdirectory/biome.json`, and the output of stdin mode formatting differed
22+
from the result of `biome format .`, or failed to run at all. Now it is
23+
consistent.

0 commit comments

Comments
 (0)