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, 07:00 UTC
fix(scripts): check:changed passes when only lint-ignored code changed (#29596)
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Alex Southwell committed
Nov 3, 2026 at 01:41 UTC
f639c155ad7dc12bc23d31e3cc31f0284004ea0a
2 files changed
+4
-2
scripts/check-changed.test.ts
+1
-1
@@ -397,7 +397,7 @@ it("checks changed source paths through the Windows launcher", () => {
397
expect(result.status, result.stdout + result.stderr).toBe(0);
398
const calls = project.calls();
399
expect(calls.find(({ args }) => args[0] === "lint")).toEqual({
400
- args: ["lint", project.source],
400
+ args: ["lint", "--no-error-on-unmatched-pattern", project.source],
401
cwd: project.root,
402
});
403
expect(calls.some(({ args }) => args[0] === "fmt" && args.includes(project.source))).toBe(true);
scripts/check-changed.ts
+3
-1
@@ -469,7 +469,9 @@ const checkChanged = Effect.fn("checkChanged")(function* (input: {
469
...(present.length > 0
470
? [command("format", ["fmt", "--check", "--no-error-on-unmatched-pattern", ...present])]
471
: []),
472
- ...(code.length > 0 ? [command("lint", ["lint", ...code])] : []),
472
+ ...(code.length > 0
473
+ ? [command("lint", ["lint", "--no-error-on-unmatched-pattern", ...code])]
474
+ : []),
475
...(runKnip
476
? knipPasses.map((args, index) => command(`knip ${index + 1}/${knipPasses.length}`, args))
477
: []),