Skip to content

armgit / ente

Public Imported from GitHub
0

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

Prune more stale overrides

Manav Rathic7757cb08ecc
diff --git a/web/packages/next/blob-cache.ts b/web/packages/next/blob-cache.ts
index 30c290f8f4..8789a50786 100644
--- a/web/packages/next/blob-cache.ts
+++ b/web/packages/next/blob-cache.ts
@@ -148,7 +148,6 @@ const openOPFSCacheWeb = async (name: BlobCacheNamespace) => {
const root = await navigator.storage.getDirectory();
const caches = await root.getDirectoryHandle("cache", { create: true });
- // eslint-disable-next-line @typescript-eslint/no-unused-vars
const cache = await caches.getDirectoryHandle(name, { create: true });
return {
diff --git a/web/packages/shared/network/HTTPService.ts b/web/packages/shared/network/HTTPService.ts
index 350f7f01dd..eda0709f55 100644
--- a/web/packages/shared/network/HTTPService.ts
+++ b/web/packages/shared/network/HTTPService.ts
@@ -125,7 +125,6 @@ class HTTPService {
/**
* Returns axios interceptors.
*/
- // eslint-disable-next-line class-methods-use-this
public getInterceptors() {
return axios.interceptors;
}
@@ -137,7 +136,6 @@ class HTTPService {
* over what was sent in config.
*/
public async request(config: AxiosRequestConfig, customConfig?: any) {
- // eslint-disable-next-line no-param-reassign
config.headers = {
...this.headers,
...config.headers,
diff --git a/web/packages/shared/themes/components.ts b/web/packages/shared/themes/components.ts
index 10e122fe28..6d8eb38801 100644
--- a/web/packages/shared/themes/components.ts
+++ b/web/packages/shared/themes/components.ts
@@ -2,7 +2,6 @@ import { Shadow, ThemeColorsOptions } from "@mui/material";
import { Components } from "@mui/material/styles/components";
import { TypographyOptions } from "@mui/material/styles/createTypography";
-// eslint-disable-next-line @typescript-eslint/no-unused-vars
export const getComponents = (
colors: ThemeColorsOptions,
typography: TypographyOptions,