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 eslint/no-empty-pattern (#25101)
Julius Marminge committed
Oct 25, 2026 at 19:18 UTC
670083429cb30049ad45ee69f11489dfec261e42
6 files changed
+1
-118
apps/server/src/process/externalLauncher.test.ts
-96
@@ -180,17 +180,6 @@ it.effect("launches an installed editor with platform-safe arguments", () =>
180
}).pipe(Effect.scoped, Effect.provide(NodeServices.layer)),
181
);
182
183
-for (const {} of ["darwin", "linux"] as const) {
184
-}
185
-
186
-for (const {} of [
187
- { kind: "browser", folderVerb: "none" },
188
- { kind: "reveal", folderVerb: "none" },
189
- { kind: "reveal", folderVerb: "" },
190
- { kind: "reveal", folderVerb: "open" },
191
-] as const) {
192
-}
193
-
183
it.effect.skipIf(windowsHost)(
184
"reveals a WSL file in Windows File Explorer through its UNC path",
185
() =>
@@ -305,91 +294,6 @@ for (const wsl of [false, true]) {
294
);
295
}
296
308
-for (const {} of ["rejected", "spawn-error", "stalled"] as const) {
309
-}
310
-
311
-for (const {} of [
312
- {
313
- platform: "darwin",
314
- installPath: "Applications/Antigravity IDE.app/Contents/Resources/app/bin/antigravity-ide",
315
- editor: "antigravity",
316
- args: ["--goto", "/workspace with spaces/file.ts:12:4"],
317
- },
318
- {
319
- platform: "linux",
320
- installPath: ".local/bin/antigravity-ide",
321
- editor: "antigravity",
322
- args: ["--goto", "/workspace with spaces/file.ts:12:4"],
323
- },
324
- {
325
- platform: "darwin",
326
- installPath: "Applications/Cursor.app/Contents/Resources/app/bin/code",
327
- editor: "cursor",
328
- args: ["--classic", "--goto", "/workspace with spaces/file.ts:12:4"],
329
- },
330
- {
331
- platform: "darwin",
332
- installPath: "Applications/Kiro.app/Contents/Resources/app/bin/code",
333
- editor: "kiro",
334
- args: ["--goto", "/workspace with spaces/file.ts:12:4"],
335
- },
336
- {
337
- platform: "darwin",
338
- installPath: "Applications/WebStorm.app/Contents/MacOS/webstorm",
339
- editor: "webstorm",
340
- args: ["--line", "12", "--column", "3", "/workspace with spaces/file.ts"],
341
- },
342
- {
343
- platform: "darwin",
344
- installPath: "Applications/Zed.app/Contents/MacOS/cli",
345
- editor: "zed",
346
- args: ["/workspace with spaces/file.ts:12:4"],
347
- },
348
- {
349
- platform: "win32",
350
- installPath: "Programs/Cursor/resources/app/bin/cursor.cmd",
351
- editor: "cursor",
352
- args: ['^"--classic^"', '^"--goto^"', '^"/workspace^ with^ spaces/file.ts:12:4^"'],
353
- },
354
- {
355
- platform: "win32",
356
- installPath: "Programs/Microsoft VS Code/bin/code.cmd",
357
- editor: "vscode",
358
- args: ['^"--goto^"', '^"/workspace^ with^ spaces/file.ts:12:4^"'],
359
- },
360
- {
361
- platform: "win32",
362
- installPath: "Programs/JetBrains/WebStorm 2026.2/bin/webstorm64.exe",
363
- editor: "webstorm",
364
- args: ["--line", "12", "--column", "3", "/workspace with spaces/file.ts"],
365
- },
366
- {
367
- platform: "win32",
368
- installPath: "Programs/WebStorm/bin/webstorm64.exe",
369
- editor: "webstorm",
370
- args: ["--line", "12", "--column", "3", "/workspace with spaces/file.ts"],
371
- },
372
- {
373
- platform: "win32",
374
- installPath: "Programs/Zed/bin/zed.exe",
375
- editor: "zed",
376
- args: ["/workspace with spaces/file.ts:12:4"],
377
- },
378
- {
379
- platform: "linux",
380
- installPath: ".local/share/JetBrains/Toolbox/scripts/idea",
381
- editor: "idea",
382
- args: ["--line", "12", "--column", "3", "/workspace with spaces/file.ts"],
383
- },
384
- {
385
- platform: "linux",
386
- installPath: ".local/bin/zed",
387
- editor: "zed",
388
- args: ["/workspace with spaces/file.ts:12:4"],
389
- },
390
-] as const) {
391
-}
392
-
297
for (const cwd of ["/workspace with spaces/", "/workspace with spaces/file.ts:12:4"]) {
298
it.effect.skipIf(windowsHost)(
299
`opens ${cwd} with the macOS Zed bundle when another zed is on PATH`,
apps/server/src/processRunner.test.ts
-3
@@ -260,9 +260,6 @@ describe("runProcess", () => {
260
expect(result.code).toBe(0);
261
}),
262
);
263
-
264
- for (const {} of ["timeout", "success"] as const) {
265
- }
263
});
264
265
describe("isWindowsCommandNotFound", () => {
apps/server/src/provider/Drivers/CodexDriver.test.ts
-3
@@ -457,9 +457,6 @@ it.layer(layerTest)("CodexDriver", (it) => {
457
);
458
}
459
460
- for (const {} of ["direct", "wrapper"] as const) {
461
- }
462
-
460
it.effect.each([
461
{
462
name: "conventional shim",
apps/server/src/pullRequest/PullRequestService.test.ts
-9
@@ -1433,15 +1433,6 @@ it.effect("stops new reads after a rate limit while leaving manual actions avail
1433
}),
1434
);
1435
1436
-for (const [] of [
1437
- ["github", "github.com"],
1438
- ["gitlab", "gitlab.com"],
1439
- ["forgejo", "code.example.test"],
1440
- ["bitbucket", "bitbucket.org"],
1441
- ["azure-devops", "dev.azure.com"],
1442
-] as const) {
1443
-}
1444
-
1436
it.effect("refuses a repository that does not belong to the requested project", () =>
1437
Effect.gen(function* () {
1438
const service = yield* makeService({
packages/provider-opencode/src/server/OpenCodeRuntime.environment.test.ts
-7
@@ -49,11 +49,4 @@ describe("verifyOpenCodeServerVersion", () => {
49
expect(error.detail).toContain("v1.14.18 is too old");
50
}),
51
);
52
-
53
- for (const {} of [
54
- { healthy: true },
55
- { healthy: true, version: "not-a-version" },
56
- { healthy: false, version: "1.14.19" },
57
- ]) {
58
- }
52
});
vite.config.ts
+1
@@ -216,6 +216,7 @@ export default defineConfig({
216
perf: "warn",
217
},
218
rules: {
219
+ "eslint/no-empty-pattern": "error",
220
"eslint/no-new": "error",
221
"unicorn/no-useless-spread": "error",
222
"eslint/no-unused-vars": [