Skip to content

Commit 13e25ce

Browse files
committed
Enable biome nursery
1 parent ec7de11 commit 13e25ce

File tree

2 files changed

+19
-1
lines changed

2 files changed

+19
-1
lines changed

biome.jsonc

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,21 @@
1414
},
1515
"correctness": {
1616
/**
17-
* To allow this, we would first need to get rid of TS project references, because it allows noEmit set to true, which is not compatible with references.
17+
* To allow this, we would first need to get rid of TS project references,
18+
* because it allows noEmit set to true, which is not compatible with references.
1819
*/
1920
"useImportExtensions": "off"
21+
},
22+
"nursery": {
23+
/**
24+
* Nursery function are unstable and need to be activated explicitly
25+
*/
26+
"noFloatingPromises": "error",
27+
"noImportCycles": "error",
28+
"noMisusedPromises": "error",
29+
"noUnnecessaryConditions": "error",
30+
// "noUnresolvedImports": "error", // Doesn't seem to understand node: prefix
31+
"useExhaustiveSwitchCases": "error"
2032
}
2133
}
2234
},

turbo.jsonc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,12 @@
3838
"check-circular": {
3939
"dependsOn": ["^build"]
4040
},
41+
"check-biome": {
42+
"dependsOn": ["^build"]
43+
},
44+
"check-biome-ci": {
45+
"dependsOn": ["^build"]
46+
},
4147
"clean": {
4248
"cache": false
4349
},

0 commit comments

Comments
 (0)