From 36571edb9563724b552dbce0bd4d20260ca7ef07 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 9 May 2024 10:53:33 +0100 Subject: [PATCH] Prettier --- code_style.md | 1 + 1 file changed, 1 insertion(+) diff --git a/code_style.md b/code_style.md index 4bd9cebffe..eab031b46d 100644 --- a/code_style.md +++ b/code_style.md @@ -224,6 +224,7 @@ Unless otherwise specified, the following applies to all code: // ... } ``` + 37. Avoid functions whose behaviour / return type varies with different parameter types. Multiple return types are fine when appropriate (eg. SDKConfig.get() with a string param which returns the type according to the param given) but SDKConfig.get() with no args returning the