@devries-cameron20 / t3code Mirror · read-only / commits / 6f21f01612
Fork 0

The best way to control Claude Code, Codex and more from any computer or phone

Mirrored from https://github.com/Camo67/t3code.git

Synced Nov 22, 17:00 UTC

chore(lint): enforce unicorn/no-useless-spread (#25104)

Julius Marminge committed Oct 25, 2026 at 18:18 UTC 6f21f01612a42bd8eb78d5d62f8569043e6b12c5
2 files changed +2 -1
apps/mobile/src/native/native-layout-metrics.tsx
+1 -1
@@ -40,7 +40,7 @@ export function NativeLayoutMetricsProvider(props: { readonly children: ReactNod
40 const [metrics, setMetrics] = useState<NativeLayoutMetrics | null>(null);
41 const publish = (next: NativeLayoutMetrics) => {
42 latestMetrics = next;
43 - for (const settle of [...metricsWaiters]) settle(next);
43 + for (const settle of metricsWaiters) settle(next);
44 setMetrics(next);
45 };
46 const deviceType = deriveDeviceType({ isPad: IS_PAD, metrics });
vite.config.ts
+1
@@ -216,6 +216,7 @@ export default defineConfig({
216 perf: "warn",
217 },
218 rules: {
219 + "unicorn/no-useless-spread": "error",
220 "eslint/no-unused-vars": [
221 "error",
222 { argsIgnorePattern: "^_", varsIgnorePattern: "^_", caughtErrorsIgnorePattern: "^_" },