Skip to content

Commit

Permalink
add eslint checking
Browse files Browse the repository at this point in the history
  • Loading branch information
dtemkin1 committed Dec 8, 2024
1 parent 2e69a01 commit c292260
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,12 @@ import checker from "vite-plugin-checker";

// https://vitejs.dev/config/
export default defineConfig({
plugins: [react(), tsconfigPaths(), checker({ typescript: true })],
plugins: [
react(),
tsconfigPaths(),
checker({
typescript: true,
eslint: { lintCommand: "eslint .", useFlatConfig: true },
}),
],
});

0 comments on commit c292260

Please sign in to comment.