How to format your Nextflow code to make nf-core core members happy
Harshil Alignment™️
The Harshil Alignment™️ format is the whitespace-happy code style that was introduced by a certain core member to get on everyone’s nerves, but then make subsequently develop Stockholm Syndrome so that no-one in nf-core else now can look at Nextflow code without it.
The Harshil Alignment™️ format involves ensuring that common punctuation across multiple lines in a group are placed in the same location as each other.
There are many places where the format can be applied - it’s not just code, it can also applies to comment formatting - however common examples are as follows: