manual lint --fix
This commit is contained in:
parent
d9aca590bb
commit
d1ea589531
76 changed files with 187 additions and 184 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue