Skip to content

Commit e35ca8f

Browse files
committed
chore: fix eslint config
1 parent 2989df5 commit e35ca8f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

packages/eslint-plugin-svelte/eslint.config.mjs

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,7 @@ const config = [
8080
{ object: 'context', property: 'getCwd', message: 'Use src/utils/compat.ts' },
8181
{ object: 'context', property: 'getScope', message: 'Use src/utils/compat.ts' },
8282
{ object: 'context', property: 'parserServices', message: 'Use src/utils/compat.ts' }
83-
],
84-
'@typescript-eslint/no-empty-function': 'off'
83+
]
8584
}
8685
},
8786
...tseslint.config({
@@ -109,6 +108,11 @@ const config = [
109108
}
110109
}
111110
}),
111+
{
112+
rules: {
113+
'@typescript-eslint/no-empty-function': 'off'
114+
}
115+
},
112116
{
113117
files: [
114118
'tests/fixtures/rules/**/*output.*',

0 commit comments

Comments
 (0)