Skip to content

Commit 13bbde3

Browse files
committed
chore: fix lint issue
1 parent 06eca2e commit 13bbde3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/runtime-core/src/devtools.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,13 @@ export function setDevtoolsHook(hook: DevtoolsHook, target: any) {
5353
// handle late devtools injection - only do this if we are in an actual
5454
// browser environment to avoid the timer handle stalling test runner exit
5555
// (#4815)
56-
// eslint-disable-next-line no-restricted-globals
56+
/* eslint-disable no-restricted-globals */
5757
typeof window !== 'undefined' &&
5858
// some envs mock window but not fully
5959
window.HTMLElement &&
6060
// also exclude jsdom
6161
!window.navigator?.userAgent?.includes('jsdom')
62+
/* eslint-enable no-restricted-globals */
6263
) {
6364
const replay = (target.__VUE_DEVTOOLS_HOOK_REPLAY__ =
6465
target.__VUE_DEVTOOLS_HOOK_REPLAY__ || [])

0 commit comments

Comments
 (0)