From c29226029986717eed71ad40e296da4acd34bc4b Mon Sep 17 00:00:00 2001 From: Diego Temkin <65834932+dtemkin1@users.noreply.github.com> Date: Sun, 8 Dec 2024 18:43:42 -0500 Subject: [PATCH] add eslint checking --- vite.config.ts | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index add2aa7..53cdf23 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -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 }, + }), + ], });