Skip to content

Commit

Permalink
fix: eslint@v9 error with vite-plugin-checker
Browse files Browse the repository at this point in the history
  • Loading branch information
spaenleh committed Sep 18, 2024
1 parent e5ba8e7 commit 093a3e1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export default ({ mode }: { mode: string }): UserConfigExport => {
mode !== 'test'
? checker({
typescript: true,
eslint: { lintCommand: 'eslint "./**/*.{ts,tsx}"' },
eslint: {
useFlatConfig: true,
lintCommand: 'eslint "./**/*.{ts,tsx}"',
},
overlay: { initialIsOpen: false },
})
: undefined,
Expand Down

0 comments on commit 093a3e1

Please sign in to comment.