Skip to content

Commit a903483

Browse files
Add rule against nested helper functions
Document that helper logic must be implemented as separate private function files rather than nested/internal helper functions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent 88c92d8 commit a903483

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/docs/Modules/Standards.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ Layout rules:
5757
- No pipeline input.
5858
- No defaulting from context — public callers resolve before calling.
5959
- Required inputs declared as mandatory.
60+
- No nested helper functions. If logic needs a helper, create it as a separate private function file under `src/functions/private/<Group>/`.
6061

6162
## SOLID applied
6263

0 commit comments

Comments
 (0)