8000 Added URL and URLSearchParams to test globals · sveltejs/eslint-plugin-svelte@dcf3e34 · GitHub
[go: up one dir, main page]

Skip to content

Commit dcf3e34

Browse files
committed
Added URL and URLSearchParams to test globals
1 parent 3a67345 commit dcf3e34

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

Lines changed: 3 additions & 1 deletion
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)
0