We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c92ac91 commit bc72883Copy full SHA for bc72883
1 file changed
.agent/rules/porting.mdc
@@ -79,7 +79,7 @@ const goString = z.string().nullish().transform(v => v ?? '');
79
explicit opt-in for features that TypeScript provides natively. For example,
80
Go requires an explicit `Unwrap() error` method for error chain traversal;
81
TypeScript gets this for free via `Error.cause`. Do not port such code.
82
-2. **Does the test test our code or the language?** If a Go test verifies
+2. **Does the test validate our code or the language?** If a Go test verifies
83
behaviour that is built into the TypeScript runtime (e.g. that `Error.cause`
84
preserves a reference), skip it — it tests the language, not our
85
implementation. Explain the skip to the user.
0 commit comments