Elm-format: (not yet decided) Switch to using trailing commas

Created on 6 Jan 2016  路  4Comments  路  Source: avh4/elm-format

There is a proposal to modify elm-compiler to allow trailing commas in tuples, lists and records. If implemented, the official elm style guide will likely change to prefer trailing commas instead of leading commas, and to always add the optional final comma.

help wanted

All 4 comments

HOW TO HELP: Follow up on getting this merged https://github.com/elm-lang/elm-compiler/pull/1257

Personally I've found current way of dealing with commas much more effective. So I am rather against trailing commas idea.

When elm-format takes care of any missing comma's and this improves cumbersome copy/paste and commenting-out of lines, I would welcome the change.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ahstro picture ahstro  路  4Comments

rtfeldman picture rtfeldman  路  5Comments

avh4 picture avh4  路  6Comments

avh4 picture avh4  路  5Comments

rtfeldman picture rtfeldman  路  4Comments