improve code quality

This commit is contained in:
Wuesteon 2025-12-03 23:42:37 +01:00
parent ec23630755
commit 16cb8e753b
213 changed files with 2409 additions and 2644 deletions

View file

@ -10,7 +10,8 @@
},
"scripts": {
"type-check": "tsc --noEmit",
"clean": "rm -rf dist"
"clean": "rm -rf dist",
"lint": "eslint ."
},
"dependencies": {
"date-fns": "^4.1.0"

View file

@ -20,7 +20,7 @@ interface CacheConfig {
version?: number;
}
let dbPromises: Map<string, Promise<IDBDatabase>> = new Map();
const dbPromises: Map<string, Promise<IDBDatabase>> = new Map();
/**
* Initialize IndexedDB connection