aboutsummaryrefslogtreecommitdiff
path: root/scripts/lint.sh
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-04-25 01:31:16 -0500
committerCraig Jennings <c@cjennings.net>2026-04-25 01:31:16 -0500
commit68c4690cbcb0bd5e8bf6a44f1c07b25d2141c5a4 (patch)
tree43c8d20535c823685afa7719799e8c5b4eb94e5c /scripts/lint.sh
parent20de0eca58802bc778b5a0103c6b910762b447a4 (diff)
downloadrulesets-68c4690cbcb0bd5e8bf6a44f1c07b25d2141c5a4.tar.gz
rulesets-68c4690cbcb0bd5e8bf6a44f1c07b25d2141c5a4.zip
docs(testing): rewrite time-mocking helper rule to be language-agnostic
The original phrasing leaned on Lisp terms (let-bind, defvar) that don't translate to most other languages. Generalize to two named failure modes (infinite recursion against the mocked primitive, scope-shadowing that production callers can't see) with examples across Python, Lisp, Go, and JavaScript so the rule applies regardless of stack.
Diffstat (limited to 'scripts/lint.sh')
0 files changed, 0 insertions, 0 deletions