From 516e15139b388c41e0b2c66798191f237d7ac248 Mon Sep 17 00:00:00 2001 From: Friedinger <71267611+Friedinger@users.noreply.github.com> Date: Fri, 10 Jul 2026 18:15:49 +0200 Subject: [PATCH 1/2] =?UTF-8?q?=F0=9F=A7=91=E2=80=8D=F0=9F=92=BB=20Lint=20?= =?UTF-8?q?typescript?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecoscan_app/package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ecoscan_app/package.json b/ecoscan_app/package.json index 2f8e766f..500b1555 100644 --- a/ecoscan_app/package.json +++ b/ecoscan_app/package.json @@ -7,8 +7,8 @@ "android": "expo start --android", "ios": "expo start --ios", "web": "expo start --web", - "lint": "prettier . --check && expo lint --max-warnings=0", - "fix": "prettier . --write && expo lint --fix" + "lint": "prettier . --check && tsc --noEmit && expo lint --max-warnings=0", + "fix": "prettier . --write && tsc --noEmit && expo lint --fix" }, "dependencies": { "@expo/vector-icons": "15.1.1", From 353e85f5fd16915f47f1ddd4baac4ec1ad462606 Mon Sep 17 00:00:00 2001 From: Friedinger <71267611+Friedinger@users.noreply.github.com> Date: Fri, 10 Jul 2026 18:49:44 +0200 Subject: [PATCH 2/2] =?UTF-8?q?=F0=9F=94=A7=20Enhance=20tsconfig?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ecoscan_app/tsconfig.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/ecoscan_app/tsconfig.json b/ecoscan_app/tsconfig.json index ce27fee3..8bbb5cb8 100644 --- a/ecoscan_app/tsconfig.json +++ b/ecoscan_app/tsconfig.json @@ -2,6 +2,13 @@ "extends": "expo/tsconfig.base", "compilerOptions": { "strict": true, + "noUncheckedIndexedAccess": true, + "noImplicitOverride": true, + "noImplicitReturns": true, + "noUnusedLocals": true, + "noUnusedParameters": true, + "noImplicitAny": true, + "noFallthroughCasesInSwitch": true, "paths": { "@/*": ["./*"] }