Skip to content

Voice-to-text dictation app with local (Nvidia Parakeet/Whisper) and cloud models (BYOK). Privacy-first and available cross-platform.

chore: apply formatting and remove unnecessary eslint-disable comment

Gabriel Stein4f9b31c0c112
diff --git a/src/components/ui/PermissionCard.tsx b/src/components/ui/PermissionCard.tsx
index aead34895..3413f0fbc 100644
--- a/src/components/ui/PermissionCard.tsx
+++ b/src/components/ui/PermissionCard.tsx
@@ -98,9 +98,7 @@ export default function PermissionCard({
{/* Troubleshooting hint */}
{hint && !granted && (
- <p className="text-[11px] text-warning/80 leading-snug mt-2 pl-11">
- {hint}
- </p>
+ <p className="text-[11px] text-warning/80 leading-snug mt-2 pl-11">{hint}</p>
)}
</div>
);
diff --git a/src/components/ui/RichTextEditor.tsx b/src/components/ui/RichTextEditor.tsx
index 78ab44158..c366ec15c 100644
--- a/src/components/ui/RichTextEditor.tsx
+++ b/src/components/ui/RichTextEditor.tsx
@@ -54,7 +54,7 @@ export function RichTextEditor({
editable: !disabled,
onUpdate: ({ editor: ed }) => {
if (suppressUpdateRef.current) return;
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
+
const md = (ed.storage as any).markdown.getMarkdown() as string;
internalValueRef.current = md;
onChange?.(md);
diff --git a/src/helpers/clipboard.js b/src/helpers/clipboard.js
index 00ae104db..d8f294132 100644
--- a/src/helpers/clipboard.js
+++ b/src/helpers/clipboard.js
@@ -84,7 +84,9 @@ class ClipboardManager {
process.on("exit", () => {
if (this._kwinScriptPath) {
- try { fs.unlinkSync(this._kwinScriptPath); } catch {}
+ try {
+ fs.unlinkSync(this._kwinScriptPath);
+ } catch {}
}
});
}
@@ -420,11 +422,10 @@ class ClipboardManager {
);
if (loadResult.status === 0) {
const scriptId = loadResult.stdout.toString().trim();
- spawnSync(
- qdbus,
- ["org.kde.KWin", `/Scripting/Script${scriptId}`, "run"],
- { timeout: 1000, stdio: "pipe" }
- );
+ spawnSync(qdbus, ["org.kde.KWin", `/Scripting/Script${scriptId}`, "run"], {
+ timeout: 1000,
+ stdio: "pipe",
+ });
// KWin script executes in the compositor; brief pause lets the journal flush.
spawnSync("sleep", ["0.03"], { timeout: 100 });
@@ -435,24 +436,28 @@ class ClipboardManager {
// KDE 6 logs KWin output under this identifier
"--identifier=kwin_wayland_wrapper",
"--since=3 seconds ago",
- "-n", "5",
+ "-n",
+ "5",
"--no-pager",
- "-o", "cat",
+ "-o",
+ "cat",
],
{ timeout: 1000, stdio: "pipe" }
);
- spawnSync(
- qdbus,
- ["org.kde.KWin", `/Scripting/Script${scriptId}`, "stop"],
- { timeout: 1000, stdio: "pipe" }
- );
+ spawnSync(qdbus, ["org.kde.KWin", `/Scripting/Script${scriptId}`, "stop"], {
+ timeout: 1000,
+ stdio: "pipe",
+ });
if (journalResult.status === 0) {
const lines = journalResult.stdout.toString().split("\n");
for (let i = lines.length - 1; i >= 0; i--) {
const idx = lines[i].indexOf(`${journalMarker}:`);
if (idx !== -1) {
- const cls = lines[i].slice(idx + journalMarker.length + 1).trim().toLowerCase();
+ const cls = lines[i]
+ .slice(idx + journalMarker.length + 1)
+ .trim()
+ .toLowerCase();
if (cls) return cls;
}
}
@@ -1214,9 +1219,7 @@ class ClipboardManager {
}
}
- this.safeLog(
- "⚠️ Native linux-fast-paste failed, falling back to system tools"
- );
+ this.safeLog("⚠️ Native linux-fast-paste failed, falling back to system tools");
} else {
const xtestArgs = [];
if (targetWindowId) xtestArgs.push("--window", targetWindowId);
diff --git a/src/index.css b/src/index.css
index 6bdfcc3ef..fcc7e2b89 100644
--- a/src/index.css
+++ b/src/index.css
@@ -888,7 +888,6 @@ body:has(.agent-overlay-window) #root {
caret-color: var(--color-foreground);
}
-
.rich-text-editor-content h1 {
font-size: 1.125rem;
font-weight: 700;