Skip to content

Commit 486dee8

Browse files
fix(guardrails): apply Copilot feedback — use @return, clarify async rule
1 parent 80138fd commit 486dee8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/copilot-instructions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ Use `.github/prompts/*.prompt.md` for guided workflows:
3737
- Avoid risky renames or moves of core stack paths used by downstream merges
3838
- Keep changes minimal and merge-friendly for downstream projects
3939
- Flag security or mergeability risks explicitly in reviews
40-
- Every new or modified function must have a JSDoc header: one-line description, `@param` for each argument, `@returns` if the function returns a value
40+
- Every new or modified function must have a JSDoc header: one-line description, `@param` for each argument, `@return` for any non-void return value (always include `@return` for async functions to document the resolved value)
4141

4242
## Architecture and modularity
4343

0 commit comments

Comments
 (0)