Skip to content

Commit

Permalink
chore: fix eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ota-meshi committed Nov 29, 2024
1 parent 2989df5 commit e35ca8f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/eslint-plugin-svelte/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,7 @@ const config = [
{ object: 'context', property: 'getCwd', message: 'Use src/utils/compat.ts' },
{ object: 'context', property: 'getScope', message: 'Use src/utils/compat.ts' },
{ object: 'context', property: 'parserServices', message: 'Use src/utils/compat.ts' }
],
'@typescript-eslint/no-empty-function': 'off'
]
}
},
...tseslint.config({
Expand Down Expand Up @@ -109,6 +108,11 @@ const config = [
}
}
}),
{
rules: {
'@typescript-eslint/no-empty-function': 'off'
}
},
{
files: [
'tests/fixtures/rules/**/*output.*',
Expand Down

0 comments on commit e35ca8f

Please sign in to comment.