We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3e6515 commit 73ee89aCopy full SHA for 73ee89a
1 file changed
devin_lifeguard.yaml
@@ -1,8 +1,9 @@
1
rules:
2
- name: no-void-functions
3
trigger: >-
4
- All public functions (WOLFSSL_API) must return a value. Avoid using "void"
5
- return types to ensure error values can be propagated upstream.
+ When implementing new public functions (WOLFSSL_API) avoid using "void"
+ return type to ensure error values can be propagated upstream. Does not
6
+ apply to "doc/" directory.
7
solution: >-
8
Change the function to return an appropriate error code or result instead
9
of void. Ensure all return paths provide a meaningful value.
0 commit comments