build: remove JavaScript compatibility mode

This commit is contained in:
sjg
2026-08-01 19:28:45 +02:00
parent ddd151c1ee
commit ee59d8efdd
2 changed files with 1 additions and 5 deletions
@@ -10,8 +10,6 @@ export default tseslint.config(
{ {
ignores: [ ignores: [
"../assets/web/generated/**", "../assets/web/generated/**",
// Removed file-by-file as the legacy sources are converted to TypeScript.
"src/**/*.js",
], ],
}, },
{ {
@@ -7,12 +7,10 @@
"noUncheckedIndexedAccess": true, "noUncheckedIndexedAccess": true,
"exactOptionalPropertyTypes": true, "exactOptionalPropertyTypes": true,
"useUnknownInCatchVariables": true, "useUnknownInCatchVariables": true,
"allowJs": true,
"checkJs": false,
"noEmit": true, "noEmit": true,
"lib": ["ES2022", "DOM", "DOM.Iterable"], "lib": ["ES2022", "DOM", "DOM.Iterable"],
"types": [] "types": []
}, },
"include": ["src/**/*.ts", "src/**/*.js"], "include": ["src/**/*.ts"],
"exclude": ["src/decode-history-worker.ts"] "exclude": ["src/decode-history-worker.ts"]
} }