Leading vs trailing commas on new lines

Like @kentm, I do this in my SQL code, and I would use this style with R code if it the RStudio formatter (or the {lintr} or {styler} packages) supported it. I'm not sure how difficult it would be to implement, but I would certainly appreciate it if it were supported. (Perhaps it could be an option in RStudio's Global Options > Code menu.)

1 Like