infra: add linting and formatting for js projects (#230)

* wip

* wip

* wip

* format

* wip(mobile): lint and format

* cleanup

* nits

* nits

* idiomatic react

* nit

* format all root files
This commit was merged in pull request #230.
This commit is contained in:
Arjun Patel
2026-06-02 07:44:24 -07:00
committed by GitHub
parent 2fe562ce2b
commit a8a0b7db1b
258 changed files with 7822 additions and 5195 deletions
@@ -1,5 +1,5 @@
import { Video, Mic } from "lucide-react";
import { useMediaSettingsStore } from "@/stores/media-settings-store";
import { Video, Mic } from 'lucide-react';
import { useMediaSettingsStore } from '@/stores/media-settings-store';
export function VideoAudioToggle() {
const recordingMode = useMediaSettingsStore((s) => s.recordingMode);
@@ -9,17 +9,19 @@ export function VideoAudioToggle() {
<span
role="button"
onClick={() =>
setRecordingMode(recordingMode === "video" ? "audio" : "video")
setRecordingMode(recordingMode === 'video' ? 'audio' : 'video')
}
title={
recordingMode === "video" ? "Switch to audio-only (V)" : "Switch to video (V)"
recordingMode === 'video'
? 'Switch to audio-only (V)'
: 'Switch to video (V)'
}
className="cursor-pointer transition-colors hover:text-white/80"
>
<kbd className="rounded bg-white/10 px-1.5 py-0.5 font-mono text-xs">
V
</kbd>{" "}
{recordingMode === "video" ? (
</kbd>{' '}
{recordingMode === 'video' ? (
<>
<Video className="inline size-3" /> video
</>