nextflow-io / language-server

The Nextflow language server
Apache License 2.0
9 stars 0 forks source link

Stripping ,s in arguements with formatting #60

Open edmundmiller opened 2 weeks ago

edmundmiller commented 2 weeks ago

I try to leave a trailing , in arguements of functions to avoid having a more complicated diff when adding another arugment later.

The formatter is fighting me on that:

    PINTS_CALLER(
        group_bam_bai.combine(ch_chr),
-        params.assay_type,
+        params.assay_type
    )

I think this is common in Python formatters, and it's an option in Prettier