diff --git a/yarn-project/.claude/rules/typescript-style.md b/yarn-project/.claude/rules/typescript-style.md index f6819c771fd4..5ea500e2e736 100644 --- a/yarn-project/.claude/rules/typescript-style.md +++ b/yarn-project/.claude/rules/typescript-style.md @@ -1,3 +1,7 @@ +--- +globs: "*.ts,*.tsx,*.mts,*.cts" +--- + # TypeScript Code Style ## Type Safety diff --git a/yarn-project/CLAUDE.md b/yarn-project/CLAUDE.md index 79c8fd9b0dd3..e36bea16575c 100644 --- a/yarn-project/CLAUDE.md +++ b/yarn-project/CLAUDE.md @@ -75,7 +75,7 @@ For long-running tests or verbose output, redirect to a temp file and use native yarn workspace @aztec/ test src/file.test.ts > /tmp/test-output.log 2>&1 ``` -Then use **Read** or **Grep** to examine `/tmp/test-output.log`. Never use `| tail` or `| head` to limit output—use native tools instead. +Then use **Read** or **Grep** to examine `/tmp/test-output.log`. Never use `| tail` or `| head` to limit output—use native tools instead. Never append `; echo "EXIT: $?"` or similar—the Bash tool already reports exit codes directly. ### End-to-End Tests