Any chance that instead of the current Allman style:
we could get K&R style:
Coming from javascript/python, I had problems parsing the newer version as connected to the previous if statement.
Groovy seems to follow K&R in its style guide https://groovy-lang.org/style-guide.html#_return_keyword_optional
An example of the switch from K&R to Allman style: https://github.com/nf-core/tools/pull/4135/changes#diff-61257db195c5fed111b4969db3e5604b80dc9f17c22edd1fde7bead023488fd7R65-R68
Any chance that instead of the current Allman style:
we could get K&R style:
Coming from javascript/python, I had problems parsing the newer version as connected to the previous
ifstatement.Groovy seems to follow K&R in its style guide https://groovy-lang.org/style-guide.html#_return_keyword_optional
An example of the switch from K&R to Allman style: https://github.com/nf-core/tools/pull/4135/changes#diff-61257db195c5fed111b4969db3e5604b80dc9f17c22edd1fde7bead023488fd7R65-R68