From 9b996ff353d34e8bde539993abfb8d54511a827f Mon Sep 17 00:00:00 2001 From: Manav Rathi Date: Tue, 30 Apr 2024 16:03:52 +0530 Subject: [PATCH] Lint+ --- desktop/.eslintrc.js | 2 +- desktop/src/thirdparty/clip-bpe-ts/mod.ts | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/desktop/.eslintrc.js b/desktop/.eslintrc.js index 977071a270..d9c13a4423 100644 --- a/desktop/.eslintrc.js +++ b/desktop/.eslintrc.js @@ -4,7 +4,7 @@ module.exports = { "eslint:recommended", "plugin:@typescript-eslint/eslint-recommended", /* What we really want eventually */ - // "plugin:@typescript-eslint/strict-type-checked", + "plugin:@typescript-eslint/strict-type-checked", // "plugin:@typescript-eslint/stylistic-type-checked", ], plugins: ["@typescript-eslint"], diff --git a/desktop/src/thirdparty/clip-bpe-ts/mod.ts b/desktop/src/thirdparty/clip-bpe-ts/mod.ts index b59b762e7c..4d00eef0e4 100644 --- a/desktop/src/thirdparty/clip-bpe-ts/mod.ts +++ b/desktop/src/thirdparty/clip-bpe-ts/mod.ts @@ -1,3 +1,5 @@ +/* eslint-disable */ + import * as htmlEntities from "html-entities"; import bpeVocabData from "./bpe_simple_vocab_16e6"; // import ftfy from "https://deno.land/x/ftfy_pyodide@v0.1.1/mod.js";