Skip to content

armgit / ente

Public Imported from GitHub
0

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

Fix lint

Manav Rathi5150dc00e1a3
diff --git a/web/apps/accounts/.eslintrc.js b/web/apps/accounts/.eslintrc.js
index e00dc0a795..7858067171 100644
--- a/web/apps/accounts/.eslintrc.js
+++ b/web/apps/accounts/.eslintrc.js
@@ -8,7 +8,6 @@ module.exports = {
"react-hooks/exhaustive-deps": "off",
"@typescript-eslint/no-unsafe-assignment": "off",
"@typescript-eslint/no-misused-promises": "off",
- "@typescript-eslint/no-floating-promises": "off",
"@typescript-eslint/no-explicit-any": "off",
"react-refresh/only-export-components": "off",
},
diff --git a/web/apps/accounts/src/pages/_app.tsx b/web/apps/accounts/src/pages/_app.tsx
index 505ba96af5..8f65540719 100644
--- a/web/apps/accounts/src/pages/_app.tsx
+++ b/web/apps/accounts/src/pages/_app.tsx
@@ -57,7 +57,7 @@ export default function App({ Component, pageProps }: AppProps) {
const [themeColor] = useLocalState(LS_KEYS.THEME, THEME_COLOR.DARK);
useEffect(() => {
- setupI18n().finally(() => setIsI18nReady(true));
+ void setupI18n().finally(() => setIsI18nReady(true));
logUnhandledErrorsAndRejections(true);
return () => logUnhandledErrorsAndRejections(false);
}, []);
diff --git a/web/apps/auth/src/pages/_app.tsx b/web/apps/auth/src/pages/_app.tsx
index 1777d2915d..e0c6a1a766 100644
--- a/web/apps/auth/src/pages/_app.tsx
+++ b/web/apps/auth/src/pages/_app.tsx
@@ -75,7 +75,7 @@ export default function App({ Component, pageProps }: AppProps) {
);
useEffect(() => {
- setupI18n().finally(() => setIsI18nReady(true));
+ void setupI18n().finally(() => setIsI18nReady(true));
const userId = (getData(LS_KEYS.USER) as User)?.id;
logStartupBanner(appName, userId);
logUnhandledErrorsAndRejections(true);
diff --git a/web/apps/photos/src/pages/_app.tsx b/web/apps/photos/src/pages/_app.tsx
index a9cfbdb510..2a4d23435f 100644
--- a/web/apps/photos/src/pages/_app.tsx
+++ b/web/apps/photos/src/pages/_app.tsx
@@ -152,7 +152,7 @@ export default function App({ Component, pageProps }: AppProps) {
);
useEffect(() => {
- setupI18n().finally(() => setIsI18nReady(true));
+ void setupI18n().finally(() => setIsI18nReady(true));
const userId = (getData(LS_KEYS.USER) as User)?.id;
logStartupBanner(appName, userId);
logUnhandledErrorsAndRejections(true);