antonmi / espec

Elixir Behaviour Driven Development
Other
808 stars 62 forks source link

Export Mix formatter configuration #252

Closed jfornoff closed 6 years ago

jfornoff commented 6 years ago

Hi there,

since ESpec makes extensive use of DSL-style notation, the new Elixir formatter inserts a lot of parentheses that are not necessarily idiomatic.

Mix format now supports importing formatter rules from dependencies (see here).

I could contribute a pretty exhaustive list of locals_without_parens, if there's interest for that.

Best, Jan

antonmi commented 6 years ago

Hi, @jfornoff! Great idea! Look forward to your PR