chore: Enable some "perf" lint rules.

This commit is contained in:
cpojer
2026-01-31 15:58:24 +09:00
parent f99e3ddd6d
commit 7a9ddcd590
8 changed files with 20 additions and 13 deletions

View File

@@ -218,7 +218,7 @@ export async function loadCostUsageSummary(params?: {
}
const daily = Array.from(dailyMap.entries())
.map(([date, bucket]) => ({ date, ...bucket }))
.map(([date, bucket]) => Object.assign({ date }, bucket))
.sort((a, b) => a.date.localeCompare(b.date));
return {