We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 88ffc22 commit ea4ac41Copy full SHA for ea4ac41
packages/eslint-plugin-svelte/tests/src/rules/prefer-const.ts
@@ -8,7 +8,7 @@ type InvalidTestCases = ReturnType<typeof loadTestCases>['invalid'];
8
const tester = new RuleTester({
9
languageOptions: {
10
ecmaVersion: 2020,
11
- sourceType: 'module'
+ sourceType: 'script'
12
},
13
plugins: {
14
custom: {
@@ -73,8 +73,7 @@ const ESLINT_RULE_TEST_CASES = {
73
'foo();'
74
].join('\n'),
75
'/*exported a*/ let a; function init() { a = foo(); }',
76
- // TODO: Skipping this test until https://github.com/typescript-eslint/typescript-eslint/issues/10426
77
- // '/*exported a*/ let a = 1',
+ '/*exported a*/ let a = 1',
78
'let a; if (true) a = 0; foo(a);',
79
`
80
(function (a) {
0 commit comments