Skip to content

Commit 392ca5d

Browse files
authored
chore: fix eslint error (#5876)
1 parent 0aeb4bc commit 392ca5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/devtools.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
/* eslint-disable no-restricted-globals */
12
import { App } from './apiCreateApp'
23
import { Fragment, Text, Comment, Static } from './vnode'
34
import { ComponentInternalInstance } from './component'
@@ -53,7 +54,6 @@ export function setDevtoolsHook(hook: DevtoolsHook, target: any) {
5354
// handle late devtools injection - only do this if we are in an actual
5455
// browser environment to avoid the timer handle stalling test runner exit
5556
// (#4815)
56-
// eslint-disable-next-line no-restricted-globals
5757
typeof window !== 'undefined' &&
5858
// some envs mock window but not fully
5959
window.HTMLElement &&

0 commit comments

Comments
 (0)