From c9ec65a8aa6087cc0b158f6bc750bb91657a1283 Mon Sep 17 00:00:00 2001 From: Raphael Forment Date: Thu, 7 Sep 2023 00:20:03 +0200 Subject: [PATCH] stricter TypeScript configuration --- tsconfig.json | 2 ++ vite.config.js | 7 +++++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index a42f12d..a28617f 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,6 +16,8 @@ /* Linting */ "strict": true, + "forceConsistentCasingInFileNames": true, + "useDefineForClassFields": true, "noUnusedLocals": true, "noUnusedParameters": true, "noFallthroughCasesInSwitch": true diff --git a/vite.config.js b/vite.config.js index 4af3752..2ac899d 100644 --- a/vite.config.js +++ b/vite.config.js @@ -6,5 +6,8 @@ export default defineConfig({ // plugins: [mdPlugin(options)], build: { chunkSizeWarningLimit: 1600 - } -}); \ No newline at end of file + }, + preview: { + open: true + } +});