Introduce new noFloatingPromises lint rule and fix violiations

This commit is contained in:
Zef Hemel
2026-03-08 15:49:45 +01:00
parent 5c9dba30de
commit bbcd9ac6aa
47 changed files with 113 additions and 106 deletions
+1 -1
View File
@@ -138,7 +138,7 @@ function dateTable(d: Date, utc: boolean): LuaTable {
});
if (!utc) {
tbl.rawSet("isdst", isDST(d));
void tbl.rawSet("isdst", isDST(d));
}
return tbl;
+1 -1
View File
@@ -399,7 +399,7 @@ export const tableApi = new LuaTable({
for (let i = 0; i < n; i++) {
await luaSet(tbl, i + 1, args[i], sf);
}
tbl.rawSet("n", n);
void tbl.rawSet("n", n);
return tbl;
}),