Skip to content

Commit

Permalink
chore: disable reportUnusedDisableDirectives
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed Nov 27, 2024
1 parent 8033027 commit e2acffd
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,6 @@ const shouldTypeCheck = typeof process.env.VSCODE_PID === 'string'

export default tseslint.config(
{
linterOptions: {
reportUnusedDisableDirectives: !shouldTypeCheck,
},
ignores: [
'packages/create-vite/template-*',
'**/dist/**',
Expand All @@ -31,6 +28,11 @@ export default tseslint.config(
'**/*.snap',
],
},
{
linterOptions: {
reportUnusedDisableDirectives: !shouldTypeCheck,
},
},
eslint.configs.recommended,
...tseslint.configs.recommended,
...tseslint.configs.stylistic,
Expand Down

0 comments on commit e2acffd

Please sign in to comment.