Skip to content

Commit 6804432

Browse files
committed
Added URL and URLSearchParams to test globals
1 parent 8a1e43d commit 6804432

File tree

1 file changed

+3
-1
lines changed
  • packages/eslint-plugin-svelte/tests/utils

1 file changed

+3
-1
lines changed

packages/eslint-plugin-svelte/tests/utils/utils.ts

+3-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ const globals = {
2121
setInterval: 'readonly',
2222
queueMicrotask: 'readonly',
2323
window: 'readonly',
24-
globalThis: 'readonly'
24+
globalThis: 'readonly',
25+
URL: 'readonly',
26+
URLSearchParams: 'readonly'
2527
};
2628
/**
2729
* Prevents leading spaces in a multiline template literal from appearing in the resulting string

0 commit comments

Comments
 (0)