Skip to content

Commit d1230de

Browse files
committed
Added URL and URLSearchParams to globals
1 parent a706a63 commit d1230de

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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)