From ee59d8efdd1db3ae4c025c0dfa1f435fa80e5b60 Mon Sep 17 00:00:00 2001 From: Stan Grams Date: Sat, 1 Aug 2026 19:28:45 +0200 Subject: [PATCH] build: remove JavaScript compatibility mode --- .../trx-frontend/trx-frontend-http/frontend/eslint.config.js | 2 -- .../trx-frontend/trx-frontend-http/frontend/tsconfig.json | 4 +--- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/trx-client/trx-frontend/trx-frontend-http/frontend/eslint.config.js b/src/trx-client/trx-frontend/trx-frontend-http/frontend/eslint.config.js index 8fffcabc..58c50897 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/frontend/eslint.config.js +++ b/src/trx-client/trx-frontend/trx-frontend-http/frontend/eslint.config.js @@ -10,8 +10,6 @@ export default tseslint.config( { ignores: [ "../assets/web/generated/**", - // Removed file-by-file as the legacy sources are converted to TypeScript. - "src/**/*.js", ], }, { diff --git a/src/trx-client/trx-frontend/trx-frontend-http/frontend/tsconfig.json b/src/trx-client/trx-frontend/trx-frontend-http/frontend/tsconfig.json index 0ab20573..53292a2d 100644 --- a/src/trx-client/trx-frontend/trx-frontend-http/frontend/tsconfig.json +++ b/src/trx-client/trx-frontend/trx-frontend-http/frontend/tsconfig.json @@ -7,12 +7,10 @@ "noUncheckedIndexedAccess": true, "exactOptionalPropertyTypes": true, "useUnknownInCatchVariables": true, - "allowJs": true, - "checkJs": false, "noEmit": true, "lib": ["ES2022", "DOM", "DOM.Iterable"], "types": [] }, - "include": ["src/**/*.ts", "src/**/*.js"], + "include": ["src/**/*.ts"], "exclude": ["src/decode-history-worker.ts"] }