From c563b6975a8796e6f1c5b27fe8657982498438ed Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?L=C3=A9o=20Banno-Cloutier?=
 <leo.banno-cloutier@savoirfairelinux.com>
Date: Wed, 14 Jun 2023 14:56:55 -0400
Subject: [PATCH] jams-react-client: add checkJs compiler flag

Change-Id: I9f9f0ace1fd95773ce4a680f47a070884d0e3502
---
 jams-react-client/.eslintrc.js  | 1 +
 jams-react-client/jsconfig.json | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/jams-react-client/.eslintrc.js b/jams-react-client/.eslintrc.js
index 825c0826..aeaa0027 100644
--- a/jams-react-client/.eslintrc.js
+++ b/jams-react-client/.eslintrc.js
@@ -20,5 +20,6 @@ module.exports = {
   ],
   rules: {
     "react/prop-types": "off",
+    "no-unused-vars": "warn",
   },
 };
diff --git a/jams-react-client/jsconfig.json b/jams-react-client/jsconfig.json
index 7057df91..dfc814cf 100644
--- a/jams-react-client/jsconfig.json
+++ b/jams-react-client/jsconfig.json
@@ -1,8 +1,10 @@
 {
   "compilerOptions": {
+    "jsx": "react",
     "baseUrl": "src",
     "paths": {
       "*": ["./src/*"]
-    }
+    },
+    "checkJs": true
   }
 }
-- 
GitLab