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: [
"../assets/web/generated/**",
// Removed file-by-file as the legacy sources are converted to TypeScript.
"src/**/*.js",
],
},
{
@@ -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"]
}