Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

tsc on build-config

Manav Rathi9e2a70e469b9
diff --git a/web/packages/build-config/eslintrc-react.mjs b/web/packages/build-config/eslintrc-react.mjs
index b1193b78ad..22b634d940 100644
--- a/web/packages/build-config/eslintrc-react.mjs
+++ b/web/packages/build-config/eslintrc-react.mjs
@@ -1,5 +1,3 @@
-// @ts-check
-
import reactPlugin from "eslint-plugin-react";
import hooksPlugin from "eslint-plugin-react-hooks";
import reactRefreshPlugin from "eslint-plugin-react-refresh";
diff --git a/web/packages/build-config/tsconfig.json b/web/packages/build-config/tsconfig.json
index 88d20f5430..3828ee1917 100644
--- a/web/packages/build-config/tsconfig.json
+++ b/web/packages/build-config/tsconfig.json
@@ -1,11 +1,12 @@
{
/* A minimal tsconfig so that we can run tsc on the build-config itself. */
"compilerOptions": {
+ "target": "ES2023",
"module": "ESNext",
"moduleResolution": "bundler",
"noEmit": true,
"checkJs": true,
"esModuleInterop": true
},
- "include": ["*.js", "eslintrc-*.mjs"]
+ "include": ["eslintrc-base.mjs"]
}