Scheduling infrastructure for absolutely everyone.
Linting
zomars1b59dacd644e
diff --git a/packages/embeds/embed-snippet/src/index.ts b/packages/embeds/embed-snippet/src/index.tsindex 493448d8100..1f0e21ff4db 100644--- a/packages/embeds/embed-snippet/src/index.ts+++ b/packages/embeds/embed-snippet/src/index.ts@@ -1,3 +1,5 @@+/* eslint-disable prefer-rest-params */+/*** As we want to keep control on the size of this snippet but we want some portion of it to be still readable.* So, write the code that you need directly but keep it short.@@ -29,18 +31,19 @@ export interface CalWindow extends Window {export default function EmbedSnippet(url = EMBED_LIB_URL) {(function (C: CalWindow, A, L) {- let p = function (a: any, ar: any) {+ const p = function (a: any, ar: any) {a.q.push(ar);};- let d = C.document;+ const d = C.document;C.Cal =C.Cal ||function () {- let cal = C.Cal!;- let ar = arguments;+ const cal = C.Cal!;+ const ar = arguments;if (!cal.loaded) {cal.ns = {};cal.q = cal.q || [];+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment//@ts-ignored.head.appendChild(d.createElement("script")).src = A;cal.loaded = true;