Skip to content

armgit / ente

Public Imported from GitHub
0

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

Lint

Manav Rathi2a73de848c6c
diff --git a/web/apps/accounts/tsconfig.json b/web/apps/accounts/tsconfig.json
index 81071f5376..8e6cbbeecf 100644
--- a/web/apps/accounts/tsconfig.json
+++ b/web/apps/accounts/tsconfig.json
@@ -2,9 +2,7 @@
"extends": "@/build-config/tsconfig-next.json",
"compilerOptions": {
/* Set the base directory from which to resolve bare module names. */
- "baseUrl": "./src",
- /* MUI doesn't work with exactOptionalPropertyTypes yet. */
- "exactOptionalPropertyTypes": false
+ "baseUrl": "./src"
},
"include": [
"src",
diff --git a/web/apps/auth/tsconfig.json b/web/apps/auth/tsconfig.json
index 81071f5376..8e6cbbeecf 100644
--- a/web/apps/auth/tsconfig.json
+++ b/web/apps/auth/tsconfig.json
@@ -2,9 +2,7 @@
"extends": "@/build-config/tsconfig-next.json",
"compilerOptions": {
/* Set the base directory from which to resolve bare module names. */
- "baseUrl": "./src",
- /* MUI doesn't work with exactOptionalPropertyTypes yet. */
- "exactOptionalPropertyTypes": false
+ "baseUrl": "./src"
},
"include": [
"src",
diff --git a/web/apps/cast/tsconfig.json b/web/apps/cast/tsconfig.json
index 81071f5376..8e6cbbeecf 100644
--- a/web/apps/cast/tsconfig.json
+++ b/web/apps/cast/tsconfig.json
@@ -2,9 +2,7 @@
"extends": "@/build-config/tsconfig-next.json",
"compilerOptions": {
/* Set the base directory from which to resolve bare module names. */
- "baseUrl": "./src",
- /* MUI doesn't work with exactOptionalPropertyTypes yet. */
- "exactOptionalPropertyTypes": false
+ "baseUrl": "./src"
},
"include": [
"src",
diff --git a/web/apps/photos/tsconfig.json b/web/apps/photos/tsconfig.json
index 2866412ee5..b56ff75f1b 100644
--- a/web/apps/photos/tsconfig.json
+++ b/web/apps/photos/tsconfig.json
@@ -3,12 +3,9 @@
"compilerOptions": {
/* Set the base directory from which to resolve bare module names. */
"baseUrl": "./src",
- /* MUI doesn't work with exactOptionalPropertyTypes yet. */
- "exactOptionalPropertyTypes": false,
- /* Override tsconfig-next.json (TODO: Remove me) */
+ /* Override tsconfig-next.json (TODO: Remove all of us) */
"verbatimModuleSyntax": false,
- /* Override tsconfig-next.json (TODO: Remove me) */
"noImplicitAny": false,
"noUnusedLocals": false,
"noUnusedParameters": false,
diff --git a/web/packages/base/tsconfig.json b/web/packages/base/tsconfig.json
index bff3b51d3a..649d10a907 100644
--- a/web/packages/base/tsconfig.json
+++ b/web/packages/base/tsconfig.json
@@ -1,9 +1,5 @@
{
"extends": "@/build-config/tsconfig-next.json",
- "compilerOptions": {
- /* MUI doesn't work with exactOptionalPropertyTypes yet. */
- "exactOptionalPropertyTypes": false
- },
"include": [
".",
"../base/global-electron.d.ts",
diff --git a/web/packages/build-config/tsconfig-next.json b/web/packages/build-config/tsconfig-next.json
index f06e08e7f4..a8257b0bba 100644
--- a/web/packages/build-config/tsconfig-next.json
+++ b/web/packages/build-config/tsconfig-next.json
@@ -4,7 +4,9 @@
"compilerOptions": {
/* Next.js insists on adding these. Sigh. */
"allowJs": true,
- "incremental": true
+ "incremental": true,
+ /* MUI doesn't work with exactOptionalPropertyTypes yet. */
+ "exactOptionalPropertyTypes": false
},
/* Next.js insists on adding this, even though we don't need it. */
"exclude": ["node_modules"]
diff --git a/web/packages/shared/tsconfig.json b/web/packages/shared/tsconfig.json
index 9cfe521bb4..61ef0a3e46 100644
--- a/web/packages/shared/tsconfig.json
+++ b/web/packages/shared/tsconfig.json
@@ -3,12 +3,9 @@
"compilerOptions": {
/* Set the base directory from which to resolve bare module names. */
"baseUrl": ".",
- /* MUI doesn't work with exactOptionalPropertyTypes yet. */
- "exactOptionalPropertyTypes": false,
- /* Override tsconfig-next.json (TODO: Remove me) */
+ /* Override tsconfig-next.json (TODO: Remove all of us) */
"verbatimModuleSyntax": false,
- /* Override tsconfig-next.json (TODO: Remove me) */
"noImplicitAny": false,
"noUnusedLocals": false,
"noUnusedParameters": false,