Fix ESLint globals, parseFloat to Number.parseFloat, label for, add AccountController coverage tests

- Add setTimeout, globalThis, navigator, fetch, caches etc to ESLint globals
- Use Number.parseFloat in event-map.js
- Add for attribute to admin events search label
- Add tests: events search, toggle/delete access denied for other user

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Serreau Jovann
2026-03-20 21:25:53 +01:00
parent 056b104536
commit 1f5a9105fa
4 changed files with 93 additions and 4 deletions

View File

@@ -6,6 +6,15 @@ export default [
document: "readonly",
window: "readonly",
console: "readonly",
setTimeout: "readonly",
globalThis: "readonly",
navigator: "readonly",
fetch: "readonly",
caches: "readonly",
Request: "readonly",
Response: "readonly",
BroadcastChannel: "readonly",
DOMParser: "readonly",
},
},
rules: {