Skip to content

Commit c5ee385

Browse files
ianzonearendjr
andauthored
feat: add nx.json project.json to Well-known files (#6488)
Co-authored-by: Arend van Beelen jr. <[email protected]>
1 parent 7e64920 commit c5ee385

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

.changeset/tiny-towns-boil.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@biomejs/biome": minor
3+
---
4+
5+
`nx.json` and `project.json` have been added to the list of well-known files.

crates/biome_json_syntax/src/file_source.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,10 @@ impl JsonFileSource {
159159
"jsr.json",
160160
// vscode files
161161
"language-configuration.json",
162+
// nx config files
163+
// https://github.com/nrwl/nx/blob/57e70d0e91c4af1c1b0d8e2c875a8dcedc7e0b23/packages/nx/src/utils/json.ts#L42
164+
"nx.json",
165+
"project.json",
162166
// Uses its own parser
163167
// https://github.com/microsoft/TypeScript/blob/a2d37a5c606803c92c00069e01d7964529e01bee/src/compiler/commandLineParser.ts#L2111-L2117
164168
// https://github.com/microsoft/TypeScript/blob/a2d37a5c606803c92c00069e01d7964529e01bee/src/compiler/parser.ts#L1433

0 commit comments

Comments
 (0)