From 0f713abd856a275b4f21aa902261473c2f7bd0c6 Mon Sep 17 00:00:00 2001 From: Scott Anderson <662325+scottanderson@users.noreply.github.com> Date: Mon, 11 Aug 2025 19:09:06 -0400 Subject: [PATCH] Re-enable strict mode (#1749) ## Description: Re-enable strict mode ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced --- Dockerfile | 2 +- tsconfig.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 364ed9b04..8aaf57b8d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -46,7 +46,7 @@ ENV NPM_CONFIG_IGNORE_SCRIPTS=1 # Copy package.json and package-lock.json COPY package*.json ./ # Install dependencies -RUN npm ci --omit=dev +RUN npm ci # Final image FROM base diff --git a/tsconfig.json b/tsconfig.json index 7c73290f3..6de45daab 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -21,7 +21,8 @@ "resolveJsonModule": true, "strictNullChecks": true, "useDefineForClassFields": false, - "strictPropertyInitialization": false + "strictPropertyInitialization": false, + "strict": true }, "include": [ "src/**/*",