File tree Expand file tree Collapse file tree 2 files changed +26
-0
lines changed
e2e-tests/stdin-nested-config Expand file tree Collapse file tree 2 files changed +26
-0
lines changed Original file line number Diff line number Diff line change 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.
24+
25+ Fixes #8233 .
Original file line number Diff line number Diff line change 1+ #! /usr/bin/env bash
12set -euo pipefail
23
34TEMP=$( mktemp)
You can’t perform that action at this time.
0 commit comments