Skip to content

Commit 7603712

Browse files
committed
Added URL and URLSearchParams to globals
1 parent f44a65c commit 7603712

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: packages/eslint-plugin-svelte/tests/src/rules/prefer-svelte-reactivity.ts

+4
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ import { loadTestCases } from '../../utils/utils.js';
55
const tester = new RuleTester({
66
languageOptions: {
77
ecmaVersion: 2020,
8+
globals: {
9+
URL: "readonly",
10+
URLSearchParams: "readonly",
11+
},
812
sourceType: 'module'
913
}
1014
});

0 commit comments

Comments
 (0)