From e970f5ade2a2523fe385f98ac3110e937aaf7429 Mon Sep 17 00:00:00 2001
From: Mozafar Haider <mozafar@dhis2.org>
Date: Wed, 31 Jul 2024 18:57:33 +0100
Subject: [PATCH] fix: update eslint rules for new template

---
 .eslintignore                            |  2 ++
 cli/config/init-typescript/tsconfig.json | 20 ++++++++++----------
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/.eslintignore b/.eslintignore
index 6472c344..3ba0f653 100644
--- a/.eslintignore
+++ b/.eslintignore
@@ -3,3 +3,5 @@
 # These are to avoid lint errors like 'cannot find module App.jsx'
 cli/config/init/entrypoint.jsx
 cli/config/init/App.test.jsx
+cli/config/init-typescript/entrypoint.jsx
+cli/config/init-typescript/App.test.jsx
diff --git a/cli/config/init-typescript/tsconfig.json b/cli/config/init-typescript/tsconfig.json
index 7e21e77f..20e7b205 100644
--- a/cli/config/init-typescript/tsconfig.json
+++ b/cli/config/init-typescript/tsconfig.json
@@ -1,14 +1,14 @@
 {
     "compilerOptions": {
-      "noEmit": true,
-      "skipLibCheck": true,
-      "allowJs": true,
-      "jsx": "react",
-      "esModuleInterop": true,
-      "target": "ESNext",
-      "module": "esnext",
-      "moduleResolution": "node",
-      "allowImportingTsExtensions": true
+        "noEmit": true,
+        "skipLibCheck": true,
+        "allowJs": true,
+        "jsx": "react",
+        "esModuleInterop": true,
+        "target": "ESNext",
+        "module": "esnext",
+        "moduleResolution": "node",
+        "allowImportingTsExtensions": true
     },
     "include": ["./src/**/*"]
-}
\ No newline at end of file
+}