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:
@@ -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: {
|
||||
|
||||
Reference in New Issue
Block a user