Skip to content

Commit 79137f3

Browse files
fix(errors): align ERRORS.md JSDoc rule with guardrail nuance (non-void + async)
1 parent d151ad6 commit 79137f3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ERRORS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,5 @@ Use this file as a compact memory of recurring AI mistakes.
1111

1212
## Entries
1313

14-
- [2026-02-22] functions: new or modified functions without JSDoc header -> always add JSDoc (description + `@param` + `@returns`)
14+
- [2026-02-22] functions: new or modified functions without JSDoc header -> always add JSDoc (description + `@param` for each arg + `@returns` for non-void return values and all async functions)
1515
- [2026-02-22] tests: never patch code to pass a test -> if a test is wrong, fix the test; if logic needs refactoring, refactor it

0 commit comments

Comments
 (0)