diff --git a/apps/cloud-functions/src/utils/task-queue-utility.ts b/apps/cloud-functions/src/utils/task-queue-utility.ts index b2dff76e..babe3655 100644 --- a/apps/cloud-functions/src/utils/task-queue-utility.ts +++ b/apps/cloud-functions/src/utils/task-queue-utility.ts @@ -4,7 +4,6 @@ // import {TanamConfig} from "../config"; // // Allow `any` in this type since that's the type defined in Firebase Task Queue -// // eslint-disable-next-line @typescript-eslint/no-explicit-any // type TaskQueuePayload = Record; // /** diff --git a/apps/cms/next.config.js b/apps/cms/next.config.js index 2c302962..843cf193 100644 --- a/apps/cms/next.config.js +++ b/apps/cms/next.config.js @@ -3,9 +3,6 @@ // eslint-disable-next-line @typescript-eslint/no-var-requires const {composePlugins, withNx} = require("@nx/next"); -/** - * @type {import('@nx/next/plugins/with-nx').WithNxOptions} - **/ const nextConfig = { images: { domains: ["lh3.googleusercontent.com", "firebasestorage.googleapis.com"], diff --git a/apps/cms/src/app/(protected)/content/[documentTypeId]/[documentId]/page.tsx b/apps/cms/src/app/(protected)/content/[documentTypeId]/[documentId]/page.tsx index a884d542..79f34f97 100644 --- a/apps/cms/src/app/(protected)/content/[documentTypeId]/[documentId]/page.tsx +++ b/apps/cms/src/app/(protected)/content/[documentTypeId]/[documentId]/page.tsx @@ -42,7 +42,6 @@ const DocumentDetailsPage = () => { } }, [document, documentTypeId, router]); - // eslint-disable-next-line @typescript-eslint/no-explicit-any const renderFormElement = (field: TanamDocumentField, value: any) => { const formgroupKey = `formgroup-${field.id}`; const inputKey = `input-${field.id}`; diff --git a/apps/cms/src/app/(protected)/content/article/page.tsx b/apps/cms/src/app/(protected)/content/article/page.tsx index a9496a99..8ffde1cb 100644 --- a/apps/cms/src/app/(protected)/content/article/page.tsx +++ b/apps/cms/src/app/(protected)/content/article/page.tsx @@ -144,11 +144,6 @@ export default function DocumentTypeDocumentsPage() { } } - /** - * Modal actions for saving or canceling audio input. - * @constant - * @type {JSX.Element} - */ const modalActionAudioInput = (
{/* Start button to close the audio input modal */} diff --git a/apps/cms/src/app/(protected)/settings/page.tsx b/apps/cms/src/app/(protected)/settings/page.tsx index cb229e36..81ab1826 100644 --- a/apps/cms/src/app/(protected)/settings/page.tsx +++ b/apps/cms/src/app/(protected)/settings/page.tsx @@ -90,11 +90,6 @@ export default function Settings() { await fetchProfilePicture(); }, [fetchProfilePicture]); - /** - * Modal actions for saving or canceling profile picture changes. - * @constant - * @type {JSX.Element} - */ const modalActionCropImage = (
{/* Start button to close the crop image modal */} diff --git a/apps/cms/src/components/TogglePublishDocument.tsx b/apps/cms/src/components/TogglePublishDocument.tsx index b04f318b..71bc7bac 100644 --- a/apps/cms/src/components/TogglePublishDocument.tsx +++ b/apps/cms/src/components/TogglePublishDocument.tsx @@ -67,11 +67,6 @@ export function TogglePublishDocument() { } } - /** - * Modal actions for saving or canceling schedule publish. - * @constant - * @type {JSX.Element} - */ const modalActionSchedulePublish = (
{/* Start button to close the schedule publish modal */} diff --git a/apps/cms/src/components/VoiceRecorder.tsx b/apps/cms/src/components/VoiceRecorder.tsx index 0cf7917a..41fa28aa 100644 --- a/apps/cms/src/components/VoiceRecorder.tsx +++ b/apps/cms/src/components/VoiceRecorder.tsx @@ -29,7 +29,6 @@ export default function VoiceRecorder(props: VoiceRecorderProps): JSX.Element { const recognitionRef = useRef(); const streamRef = useRef(null); const audioContextRef = useRef(null); - // eslint-disable-next-line @typescript-eslint/no-explicit-any const peaksInstanceRef = useRef(null); /** @@ -150,7 +149,6 @@ export default function VoiceRecorder(props: VoiceRecorderProps): JSX.Element { axisGridlineColor: "#ccc", axisLabelColor: "#aaa", randomizeSegmentColor: true, - // eslint-disable-next-line @typescript-eslint/no-explicit-any } as any; peaksInstanceRef.current = Peaks.init(options, (err) => { @@ -212,10 +210,8 @@ export default function VoiceRecorder(props: VoiceRecorderProps): JSX.Element { if (!recognition) return; // Handle the event when speech recognition returns results - // eslint-disable-next-line @typescript-eslint/no-explicit-any recognition.onresult = (event: any) => { const transcript = Array.from(event.results) - // eslint-disable-next-line @typescript-eslint/no-explicit-any .map((result: any) => result[0]) .map((result) => result.transcript) .join(""); diff --git a/libs/domain-frontend/src/models/TanamSpeechRecognition.ts b/libs/domain-frontend/src/models/TanamSpeechRecognition.ts index db1a6eb3..14ab13b3 100644 --- a/libs/domain-frontend/src/models/TanamSpeechRecognition.ts +++ b/libs/domain-frontend/src/models/TanamSpeechRecognition.ts @@ -16,9 +16,6 @@ declare global { /** * A reference to the custom `SpeechRecognition` implementation or standard implementation. * This can be used to access speech recognition features in browsers that support it. - * - * @type {typeof TanamSpeechRecognition} - * @example * // Example usage * const recognition = new window.SpeechRecognition(); * recognition.start(); @@ -28,9 +25,7 @@ declare global { /** * A reference to the Webkit-specific `SpeechRecognition` implementation. * This is particularly relevant for browsers that use the `webkit` prefix. - * - * @type {typeof TanamSpeechRecognition} - * @example + * // Example usage * const recognition = new window.webkitSpeechRecognition(); * recognition.start();