10000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 87be76a commit 9cb4846Copy full SHA for 9cb4846
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