manual lint --fix

This commit is contained in:
Henry Jameson 2025-02-04 15:23:21 +02:00
commit d1ea589531
76 changed files with 187 additions and 184 deletions

View file

@ -1,9 +1,11 @@
import EventTargetPolyfill from '@ungap/event-target'
try {
new EventTarget()
} catch (e) {
// for some reason eslint both likes and dislikes
// no-new here so we just call something useless
// so it stops reporting this file
const et = new EventTarget()
et.dispatchEvent()
} catch {
window.EventTarget = EventTargetPolyfill
}