I'd like to offer a counter point in that I think the lack of configuration is one of the best things about the formatter as it stands.
Without configuration they're is only one style, and this the is no opportunity for teams to squabble about code style/linter format. It also means that (hopefully) all the Elixir code out the works look (relatively) similar.
I don't think the advantage offered by any specific configuration is worth sacrificing this feature.
I gave a talk at last year's Elixir London on the subject https://youtu.be/g4HXeP_CZbc
Cheers,
Louis
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/6f055bb9-3c2d-4d65-9cf4-8904509844b8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/d2eeb293-61b9-4139-84d7-49a7871522ef%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/siNPFCNkfrABhDqMwHw5_G5BxiyPsafcXpDqv0g457e7SF5TdpZr71PgeaezlV7T_OQNUYPDlC7Z8pa_kTbGLdwk9e_3L6hhJ-sBHv_CqVw%3D%40protonmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CA%2BbCVsvRe266R_yRvH_S5cDDetFm_%3DUEH4TKL%3D8Y%3DZiBjdBypg%40mail.gmail.com.
I’m okay with the other options, it’s just, to me, I can see numbers that actually have meaning to be split at 3, makes sense. But an ID which is isn’t meant to be split, at least in my mind, shouldn’t be split every three characters.
A DB ID is just an ID, not really carrying any significance when counting other than incrementally telling you which record it is when created.
Absolutely, maybe the best way is to use fixtures and keep test data out of code if you have so many data rows that you have to use editor search to find them.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAOcJokpHqxT%2BxGnzoG-Di2es%3Dq9RshYfe32%3DBebDJm2daWY5Kg%40mail.gmail.com.