From 1884242ca4eb69f78af46f19a96c2708882c2bf7 Mon Sep 17 00:00:00 2001
From: Paul Visscher
Date: Fri, 25 Jul 2025 13:36:02 +0200
Subject: [PATCH] feat: add linting for misused promises
---
biome.json | 3 +++
templates/common-typescript/+biome.json | 3 +++
.../common-typescript/.github/{CODEOWNERS => +CODEOWNERS} | 0
3 files changed, 6 insertions(+)
rename templates/common-typescript/.github/{CODEOWNERS => +CODEOWNERS} (100%)
diff --git a/biome.json b/biome.json
index cd4c5cd..771f02d 100644
--- a/biome.json
+++ b/biome.json
@@ -46,6 +46,9 @@
"noUnusedVariables": "error",
"noUnusedImports": "error",
"useHookAtTopLevel": "error"
+ },
+ "nursery": {
+ "noMisusedPromises": "error"
}
}
},
diff --git a/templates/common-typescript/+biome.json b/templates/common-typescript/+biome.json
index cd4c5cd..771f02d 100644
--- a/templates/common-typescript/+biome.json
+++ b/templates/common-typescript/+biome.json
@@ -46,6 +46,9 @@
"noUnusedVariables": "error",
"noUnusedImports": "error",
"useHookAtTopLevel": "error"
+ },
+ "nursery": {
+ "noMisusedPromises": "error"
}
}
},
diff --git a/templates/common-typescript/.github/CODEOWNERS b/templates/common-typescript/.github/+CODEOWNERS
similarity index 100%
rename from templates/common-typescript/.github/CODEOWNERS
rename to templates/common-typescript/.github/+CODEOWNERS