Skip to content

armgit / ente

Public Imported from GitHub
0

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

Remove false disables that have been fixed in eslint 9

Manav Rathi0d3db30cac17
diff --git a/desktop/src/main/types/any-shell-escape.d.ts b/desktop/src/main/types/any-shell-escape.d.ts
index b8777d2aed..4172cdb1ef 100644
--- a/desktop/src/main/types/any-shell-escape.d.ts
+++ b/desktop/src/main/types/any-shell-escape.d.ts
@@ -19,7 +19,6 @@
* curl -v -H "Location;" -H "User-Agent: FooBar's so-called ""Browser""" "http://www.daveeddy.com/?name=dave&age=24"
Which is suitable for being executed by the shell.
*/
-/* eslint-disable no-unused-vars */
declare module "any-shell-escape" {
declare const shellescape: (args: readonly string | string[]) => string;
export default shellescape;
diff --git a/desktop/src/preload.ts b/desktop/src/preload.ts
index 85475031d3..c6df891dc5 100644
--- a/desktop/src/preload.ts
+++ b/desktop/src/preload.ts
@@ -1,4 +1,3 @@
-/* eslint-disable no-unused-vars */
/**
* @file The preload script
*
diff --git a/desktop/src/thirdparty/clip-bpe-ts/mod.ts b/desktop/src/thirdparty/clip-bpe-ts/mod.ts
index 4d00eef0e4..74126433be 100644
--- a/desktop/src/thirdparty/clip-bpe-ts/mod.ts
+++ b/desktop/src/thirdparty/clip-bpe-ts/mod.ts
@@ -373,7 +373,6 @@ export default class {
return token + "</w>";
}
- // eslint-disable-next-line no-constant-condition
while (1) {
let bigram: [string, string] | null = null;
let minRank = Infinity;