diff --git a/contributing/code/standards.rst b/contributing/code/standards.rst index 4454e676bdf..7a9b9b240dd 100644 --- a/contributing/code/standards.rst +++ b/contributing/code/standards.rst @@ -175,6 +175,9 @@ Structure switched to opt-in via ``@`` operator. Read more at :ref:`contributing-code-conventions-deprecations`. +* Do not use ``else``, ``elseif``, ``break`` after ``if`` and ``case`` conditions + which return or throw something. + Naming Conventions ------------------