build: remove JavaScript compatibility mode
This commit is contained in:
@@ -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"]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user