Open source website builder and Webflow alternative. Webstudio is an advanced visual builder that connects to any headless CMS, supports all CSS properties, and can be hosted anywhere, including with us.
TypeScript accessibilityalternativecloudflarecloudflare-workersdesignfreefrontendopen-sourceradix-uireactremixweb-developmentwebflowwebsite-builderwebsite-developmentwebsiteswebstudio
build: remove unused eslint suppressions (#3876)
Bogdan Chadkin097d2922c30f
diff --git a/apps/builder/app/builder/features/ai/ai-command-bar.tsx b/apps/builder/app/builder/features/ai/ai-command-bar.tsxindex 406f12fad8..f42c5e1df9 100644--- a/apps/builder/app/builder/features/ai/ai-command-bar.tsx+++ b/apps/builder/app/builder/features/ai/ai-command-bar.tsx@@ -131,7 +131,6 @@ export const AiCommandBar = ({ isPreviewMode }: { isPreviewMode: boolean }) => {}// Above are known errors; we're not interested in logging them.- // eslint-disable-next-line no-consoleconsole.error(error);if (error instanceof AiApiException) {@@ -177,7 +176,6 @@ export const AiCommandBar = ({ isPreviewMode }: { isPreviewMode: boolean }) => {const handleAiRequest = async (prompt: string) => {if (abortController.current) {if (abortController.current.signal.aborted === false) {- // eslint-disable-next-line no-consoleconsole.warn(`For some reason previous operation is not aborted.`);}@@ -239,7 +237,6 @@ export const AiCommandBar = ({ isPreviewMode }: { isPreviewMode: boolean }) => {}// Above is known errors, we are not interesting in- // eslint-disable-next-line no-consoleconsole.error(error);if (error instanceof AiApiException) {diff --git a/apps/builder/app/builder/features/ai/apply-operations.ts b/apps/builder/app/builder/features/ai/apply-operations.tsindex 224f7cd00b..b15e2ddd62 100644--- a/apps/builder/app/builder/features/ai/apply-operations.ts+++ b/apps/builder/app/builder/features/ai/apply-operations.ts@@ -35,7 +35,6 @@ export const applyOperations = (operations: operations.WsOperations) => {break;default:if (process.env.NODE_ENV === "development") {- // eslint-disable-next-line no-consoleconsole.warn(`Not supported operation: ${operation}`);}}diff --git a/apps/builder/app/builder/features/style-panel/sections/layout/shared/flex-grid.stories.tsx b/apps/builder/app/builder/features/style-panel/sections/layout/shared/flex-grid.stories.tsxindex 09ab539ba9..2c9b9d90cd 100644--- a/apps/builder/app/builder/features/style-panel/sections/layout/shared/flex-grid.stories.tsx+++ b/apps/builder/app/builder/features/style-panel/sections/layout/shared/flex-grid.stories.tsx@@ -6,11 +6,8 @@ export default {};const batchUpdate = {- // eslint-disable-next-line @typescript-eslint/no-empty-functionsetProperty: () => () => {},- // eslint-disable-next-line @typescript-eslint/no-empty-functiondeleteProperty: () => {},- // eslint-disable-next-line @typescript-eslint/no-empty-functionpublish: () => {},};diff --git a/apps/builder/app/builder/shared/assets/assets-shell.tsx b/apps/builder/app/builder/shared/assets/assets-shell.tsxindex 2b12f63ca6..d3d1cf8d43 100644--- a/apps/builder/app/builder/shared/assets/assets-shell.tsx+++ b/apps/builder/app/builder/shared/assets/assets-shell.tsx@@ -132,7 +132,6 @@ export const AssetsShell = ({return true;}- // eslint-disable-next-line no-consoleconsole.warn(`Unsupported file dropped for type=${type}, accept=${accept} and file.type=${file.type}, file.name=${file.name}`);diff --git a/apps/builder/app/builder/shared/fonts-manager/item-utils.ts b/apps/builder/app/builder/shared/fonts-manager/item-utils.tsindex eca01db184..29df3b509d 100644--- a/apps/builder/app/builder/shared/fonts-manager/item-utils.ts+++ b/apps/builder/app/builder/shared/fonts-manager/item-utils.ts@@ -38,23 +38,20 @@ export const filterIdsByFamily = (assetContainers: Array<AssetContainer>) => {// One family may have multiple assets for different formats, so we need to find them all.- return (- assetContainers- .filter((assetContainer) => {- if (assetContainer.status !== "uploaded") {- return false;- }- const { asset } = assetContainer;- // @todo need to teach TS the right type from useAssets- return (- "meta" in asset &&- "family" in asset.meta &&- asset.meta.family === family- );- })- // eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- we filtered out non uploaded items- .map((assetContainer) => assetContainer.asset!.id)- );+ return assetContainers+ .filter((assetContainer) => {+ if (assetContainer.status !== "uploaded") {+ return false;+ }+ const { asset } = assetContainer;+ // @todo need to teach TS the right type from useAssets+ return (+ "meta" in asset &&+ "family" in asset.meta &&+ asset.meta.family === family+ );+ })+ .map((assetContainer) => assetContainer.asset!.id);};export const groupItemsByType = (items: Array<Item>) => {diff --git a/apps/builder/app/canvas/shared/scroll-state.ts b/apps/builder/app/canvas/shared/scroll-state.tsindex d0320a77d9..21861fff3f 100644--- a/apps/builder/app/canvas/shared/scroll-state.ts+++ b/apps/builder/app/canvas/shared/scroll-state.ts@@ -43,7 +43,6 @@ type UseScrollState = {onScrollEnd?: () => void;};-// eslint-disable-next-line @typescript-eslint/no-empty-functionconst noop = () => {};/**diff --git a/apps/builder/app/entry.client.tsx b/apps/builder/app/entry.client.tsxindex 6b968a1f8a..d9c65d5eec 100644--- a/apps/builder/app/entry.client.tsx+++ b/apps/builder/app/entry.client.tsx@@ -5,7 +5,6 @@ import { createRoot, hydrateRoot } from "react-dom/client";startTransition(() => {if (document.documentElement.dataset.builder === "true") {hydrateRoot(- // eslint-disable-next-line @typescript-eslint/no-non-null-assertiondocument.getElementById("root")!,<StrictMode><RemixBrowser />diff --git a/apps/builder/app/shared/builder-api.ts b/apps/builder/app/shared/builder-api.tsindex 334e5a4999..e722148b7b 100644--- a/apps/builder/app/shared/builder-api.ts+++ b/apps/builder/app/shared/builder-api.ts@@ -63,7 +63,6 @@ export const builderApi = createRecursiveProxy((options) => {return false;}- // eslint-disable-next-line no-consoleconsole.warn(`API not found in the iframe, skipping ${options.path.join(".")} call, iframe probably not loaded yet`);diff --git a/apps/builder/app/shared/canvas-api.ts b/apps/builder/app/shared/canvas-api.tsindex 46bc7bbaeb..a7b6e99367 100644--- a/apps/builder/app/shared/canvas-api.ts+++ b/apps/builder/app/shared/canvas-api.ts@@ -72,7 +72,6 @@ export const canvasApi = createRecursiveProxy((options) => {return false;}- // eslint-disable-next-line no-consoleconsole.warn(`API not found in the iframe, skipping ${options.path.join(".")} call, iframe probably not loaded yet`);diff --git a/apps/builder/app/shared/dom-hooks/use-window-resize.ts b/apps/builder/app/shared/dom-hooks/use-window-resize.tsindex f9ca35a730..c4218d7885 100644--- a/apps/builder/app/shared/dom-hooks/use-window-resize.ts+++ b/apps/builder/app/shared/dom-hooks/use-window-resize.ts@@ -31,7 +31,6 @@ if (typeof window === "object") {);}-// eslint-disable-next-line @typescript-eslint/no-empty-functionconst noop = () => {};type UseWindowResize = {diff --git a/fixtures/webstudio-cloudflare-template/app/routes/[another-page]._index.tsx b/fixtures/webstudio-cloudflare-template/app/routes/[another-page]._index.tsxindex 6393ee8964..3ca140eb53 100644--- a/fixtures/webstudio-cloudflare-template/app/routes/[another-page]._index.tsx+++ b/fixtures/webstudio-cloudflare-template/app/routes/[another-page]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-cloudflare-template/app/routes/_index.tsx b/fixtures/webstudio-cloudflare-template/app/routes/_index.tsxindex 3f775d0c50..320465a628 100644--- a/fixtures/webstudio-cloudflare-template/app/routes/_index.tsx+++ b/fixtures/webstudio-cloudflare-template/app/routes/_index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-custom-template/app/routes/[script-test]._index.tsx b/fixtures/webstudio-custom-template/app/routes/[script-test]._index.tsxindex f42412f231..361c2360f2 100644--- a/fixtures/webstudio-custom-template/app/routes/[script-test]._index.tsx+++ b/fixtures/webstudio-custom-template/app/routes/[script-test]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-custom-template/app/routes/[sitemap.xml]._index.tsx b/fixtures/webstudio-custom-template/app/routes/[sitemap.xml]._index.tsxindex b331400cec..78ace187c3 100644--- a/fixtures/webstudio-custom-template/app/routes/[sitemap.xml]._index.tsx+++ b/fixtures/webstudio-custom-template/app/routes/[sitemap.xml]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import { renderToString } from "react-dom/server";import { type LoaderFunctionArgs, redirect } from "@remix-run/server-runtime";import { isLocalResource, loadResources } from "@webstudio-is/sdk";diff --git a/fixtures/webstudio-custom-template/app/routes/[world]._index.tsx b/fixtures/webstudio-custom-template/app/routes/[world]._index.tsxindex 35b93b080a..32cf0e487f 100644--- a/fixtures/webstudio-custom-template/app/routes/[world]._index.tsx+++ b/fixtures/webstudio-custom-template/app/routes/[world]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-custom-template/app/routes/_index.tsx b/fixtures/webstudio-custom-template/app/routes/_index.tsxindex 3f775d0c50..320465a628 100644--- a/fixtures/webstudio-custom-template/app/routes/_index.tsx+++ b/fixtures/webstudio-custom-template/app/routes/_index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-netlify-edge-functions/app/routes/[another-page]._index.tsx b/fixtures/webstudio-remix-netlify-edge-functions/app/routes/[another-page]._index.tsxindex 6393ee8964..3ca140eb53 100644--- a/fixtures/webstudio-remix-netlify-edge-functions/app/routes/[another-page]._index.tsx+++ b/fixtures/webstudio-remix-netlify-edge-functions/app/routes/[another-page]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-netlify-edge-functions/app/routes/_index.tsx b/fixtures/webstudio-remix-netlify-edge-functions/app/routes/_index.tsxindex 3f775d0c50..320465a628 100644--- a/fixtures/webstudio-remix-netlify-edge-functions/app/routes/_index.tsx+++ b/fixtures/webstudio-remix-netlify-edge-functions/app/routes/_index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-netlify-functions/app/routes/[another-page]._index.tsx b/fixtures/webstudio-remix-netlify-functions/app/routes/[another-page]._index.tsxindex 6393ee8964..3ca140eb53 100644--- a/fixtures/webstudio-remix-netlify-functions/app/routes/[another-page]._index.tsx+++ b/fixtures/webstudio-remix-netlify-functions/app/routes/[another-page]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-netlify-functions/app/routes/_index.tsx b/fixtures/webstudio-remix-netlify-functions/app/routes/_index.tsxindex 3f775d0c50..320465a628 100644--- a/fixtures/webstudio-remix-netlify-functions/app/routes/_index.tsx+++ b/fixtures/webstudio-remix-netlify-functions/app/routes/_index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-vercel/app/routes/[_route_with_symbols_]._index.tsx b/fixtures/webstudio-remix-vercel/app/routes/[_route_with_symbols_]._index.tsxindex 6497533ab0..9417efc238 100644--- a/fixtures/webstudio-remix-vercel/app/routes/[_route_with_symbols_]._index.tsx+++ b/fixtures/webstudio-remix-vercel/app/routes/[_route_with_symbols_]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-vercel/app/routes/[form]._index.tsx b/fixtures/webstudio-remix-vercel/app/routes/[form]._index.tsxindex e57951d5fb..3e1c22e366 100644--- a/fixtures/webstudio-remix-vercel/app/routes/[form]._index.tsx+++ b/fixtures/webstudio-remix-vercel/app/routes/[form]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-vercel/app/routes/[heading-with-id]._index.tsx b/fixtures/webstudio-remix-vercel/app/routes/[heading-with-id]._index.tsxindex 8821863fd4..86b580d2d8 100644--- a/fixtures/webstudio-remix-vercel/app/routes/[heading-with-id]._index.tsx+++ b/fixtures/webstudio-remix-vercel/app/routes/[heading-with-id]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-vercel/app/routes/[nested].[nested-page]._index.tsx b/fixtures/webstudio-remix-vercel/app/routes/[nested].[nested-page]._index.tsxindex 3847806140..7ae1ca55b1 100644--- a/fixtures/webstudio-remix-vercel/app/routes/[nested].[nested-page]._index.tsx+++ b/fixtures/webstudio-remix-vercel/app/routes/[nested].[nested-page]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-vercel/app/routes/[radix]._index.tsx b/fixtures/webstudio-remix-vercel/app/routes/[radix]._index.tsxindex 0b4acd8cc0..a425663a80 100644--- a/fixtures/webstudio-remix-vercel/app/routes/[radix]._index.tsx+++ b/fixtures/webstudio-remix-vercel/app/routes/[radix]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-vercel/app/routes/[resources]._index.tsx b/fixtures/webstudio-remix-vercel/app/routes/[resources]._index.tsxindex 1e1994a185..ec533a0ea6 100644--- a/fixtures/webstudio-remix-vercel/app/routes/[resources]._index.tsx+++ b/fixtures/webstudio-remix-vercel/app/routes/[resources]._index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/fixtures/webstudio-remix-vercel/app/routes/_index.tsx b/fixtures/webstudio-remix-vercel/app/routes/_index.tsxindex 3f775d0c50..320465a628 100644--- a/fixtures/webstudio-remix-vercel/app/routes/_index.tsx+++ b/fixtures/webstudio-remix-vercel/app/routes/_index.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/package.json b/package.jsonindex bdb71c8674..6c2510faa7 100644--- a/package.json+++ b/package.json@@ -7,7 +7,7 @@"build": "pnpm -r --filter='!./fixtures/*' build","dts": "pnpm -r dts","dev": "pnpm --filter='@webstudio-is/builder' --filter='@webstudio-is/prisma-client' --parallel --recursive dev",- "lint": "eslint . --ext .ts,.tsx --max-warnings 0",+ "lint": "eslint . --ext .ts,.tsx --report-unused-disable-directives --max-warnings 0","checks": "pnpm -r test && pnpm -r typecheck && pnpm lint","format": "prettier --write \"**/*.{ts,tsx,md}\"","storybook:dev": "storybook dev -p 6006",diff --git a/packages/asset-uploader/src/clients/fs/upload.ts b/packages/asset-uploader/src/clients/fs/upload.tsindex 82082c3ee4..17be50add6 100644--- a/packages/asset-uploader/src/clients/fs/upload.ts+++ b/packages/asset-uploader/src/clients/fs/upload.ts@@ -19,7 +19,6 @@ export const uploadToFs = async ({}) => {const filepath = resolve(fileDirectory, name);- // eslint-disable-next-line @typescript-eslint/no-empty-functionawait mkdir(dirname(filepath), { recursive: true }).catch(() => {});const limitSize = createSizeLimiter(maxSize, name);diff --git a/packages/asset-uploader/src/utils/sanitize-s3-key.ts b/packages/asset-uploader/src/utils/sanitize-s3-key.tsindex 65da9792a7..476ce8a90f 100644--- a/packages/asset-uploader/src/utils/sanitize-s3-key.ts+++ b/packages/asset-uploader/src/utils/sanitize-s3-key.ts@@ -12,7 +12,6 @@// eslint-disable-next-line no-control-regexconst specialRegexps = [/[\x00-\x1F\x7F]+/g, /[&$@=;/:+\s,?]+/g];-// eslint-disable-next-line no-control-regexconst avoidRegexps = [/[\x80-\xFF]+/g, /[\\{^}%`\]'"“”>[~<#|]+/g];const allRegexps = [...specialRegexps, ...avoidRegexps];diff --git a/packages/authorization-token/src/db/authorization-token.ts b/packages/authorization-token/src/db/authorization-token.tsindex 5f043ec7c7..81be8320f9 100644--- a/packages/authorization-token/src/db/authorization-token.ts+++ b/packages/authorization-token/src/db/authorization-token.ts@@ -54,7 +54,6 @@ export const getTokenPermissions = async (): Promise<TokenPermissions> => {const dbToken = await prisma.authorizationToken.findUnique({where: {- // eslint-disable-next-line camelcasetoken_projectId: {projectId: props.projectId,token: props.token,@@ -132,7 +131,6 @@ export const update = async (const previousToken = await prisma.authorizationToken.findUnique({where: {- // eslint-disable-next-line camelcasetoken_projectId: {projectId,token: props.token,@@ -146,7 +144,6 @@ export const update = async (const dbToken = await prisma.authorizationToken.update({where: {- // eslint-disable-next-line camelcasetoken_projectId: {projectId: projectId,token: props.token,@@ -184,7 +181,6 @@ export const remove = async (const dbToken = await prisma.authorizationToken.delete({where: {- // eslint-disable-next-line camelcasetoken_projectId: {projectId: props.projectId,token: props.token,diff --git a/packages/cli/templates/defaults/app/route-templates/html.tsx b/packages/cli/templates/defaults/app/route-templates/html.tsxindex 8edbca5f47..71d63bc7c8 100644--- a/packages/cli/templates/defaults/app/route-templates/html.tsx+++ b/packages/cli/templates/defaults/app/route-templates/html.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import {type ServerRuntimeMetaFunction as MetaFunction,type LinksFunction,diff --git a/packages/cli/templates/defaults/app/route-templates/xml.tsx b/packages/cli/templates/defaults/app/route-templates/xml.tsxindex b01c7aa506..91e625bc9b 100644--- a/packages/cli/templates/defaults/app/route-templates/xml.tsx+++ b/packages/cli/templates/defaults/app/route-templates/xml.tsx@@ -1,4 +1,3 @@-/* eslint-disable camelcase */import { renderToString } from "react-dom/server";import { type LoaderFunctionArgs, redirect } from "@remix-run/server-runtime";import { isLocalResource, loadResources } from "@webstudio-is/sdk";diff --git a/packages/css-data/bin/property-value-descriptions.ts b/packages/css-data/bin/property-value-descriptions.tsindex daefd9d3b7..84ad037e8d 100755--- a/packages/css-data/bin/property-value-descriptions.ts+++ b/packages/css-data/bin/property-value-descriptions.ts@@ -1,4 +1,4 @@-/* eslint-disable no-console, func-style */+/* eslint-disable func-style */import * as fs from "node:fs";import * as path from "node:path";import type { CreateChatCompletionResponse } from "openai";diff --git a/packages/design-system/bin/transform-figma-tokens.ts b/packages/design-system/bin/transform-figma-tokens.tsindex 4512eb4bce..f5524a25e9 100644--- a/packages/design-system/bin/transform-figma-tokens.ts+++ b/packages/design-system/bin/transform-figma-tokens.ts@@ -1,5 +1,3 @@-/* eslint-disable no-console */-import { readFileSync, writeFileSync, existsSync, rmSync } from "node:fs";import { execSync } from "node:child_process";import { camelCase } from "change-case";diff --git a/packages/eslint-config-custom/index.js b/packages/eslint-config-custom/index.jsindex c7fccfdf57..d645d6c829 100644--- a/packages/eslint-config-custom/index.js+++ b/packages/eslint-config-custom/index.js@@ -19,7 +19,7 @@ module.exports = {},plugins: ["@typescript-eslint", "unicorn"],rules: {- "no-console": ["error", { allow: ["info", "error"] }],+ "no-console": ["error", { allow: ["info", "error", "warn"] }],"no-unused-vars": "off","@typescript-eslint/no-unused-vars": "off","func-style": ["error", "expression", { allowArrowFunctions: true }],diff --git a/packages/image/src/image-dev.stories.tsx b/packages/image/src/image-dev.stories.tsxindex fd980cbaca..b02b80746a 100644--- a/packages/image/src/image-dev.stories.tsx+++ b/packages/image/src/image-dev.stories.tsx@@ -7,7 +7,7 @@ import { Image as ImagePrimitive, createImageLoader } from "./";// to not allow include local assets everywhere, just enable it for this file// eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignore-import localLogoImage from "../storybook-assets/logo.webp"; // eslint-disable-line+import localLogoImage from "../storybook-assets/logo.webp";export default {title: "Components/ImageDev",diff --git a/packages/prisma-client/migrations-cli/logger.ts b/packages/prisma-client/migrations-cli/logger.tsindex e338a73715..7185af07af 100644--- a/packages/prisma-client/migrations-cli/logger.ts+++ b/packages/prisma-client/migrations-cli/logger.ts@@ -1,5 +1,3 @@-/* eslint-disable no-console */-// When you're adding a log for debugging use console.info as normal.// Use logger only for CLI output.diff --git a/packages/prisma-client/migrations-cli/umzug.ts b/packages/prisma-client/migrations-cli/umzug.tsindex 147b78cc8c..403598a7e4 100755--- a/packages/prisma-client/migrations-cli/umzug.ts+++ b/packages/prisma-client/migrations-cli/umzug.ts@@ -36,7 +36,6 @@ export const umzug = new Umzug({up: async () => {await prismaMigrations.generateMigrationClient(params.name);- // eslint-disable-next-line @typescript-eslint/no-var-requiresconst migration = await import(tsFilePath);if (typeof migration.default !== "function") {diff --git a/packages/sdk-components-react/src/html-embed-patchers.ts b/packages/sdk-components-react/src/html-embed-patchers.tsindex 759b2acea0..4149b5a26c 100644--- a/packages/sdk-components-react/src/html-embed-patchers.ts+++ b/packages/sdk-components-react/src/html-embed-patchers.ts@@ -5,10 +5,7 @@ const isDOMContentLoaded = () => {);};-const eventListenerTasks: Array<- // eslint-disable-next-line @typescript-eslint/no-explicit-any- () => void-> = [];+const eventListenerTasks: Array<() => void> = [];let domContentLoadedPatched = false;diff --git a/packages/sdk-components-react/src/vimeo.tsx b/packages/sdk-components-react/src/vimeo.tsxindex e457e27819..0311179151 100644--- a/packages/sdk-components-react/src/vimeo.tsx+++ b/packages/sdk-components-react/src/vimeo.tsx@@ -332,7 +332,6 @@ export const VimeoContext = createContext<{onInitPlayer: () => void;status: PlayerStatus;}>({- // eslint-disable-next-line @typescript-eslint/no-empty-functiononInitPlayer: () => {},status: "initial",});