dwyl / learn-elixir

:droplet: Learn the Elixir programming language to build functional, fast, scalable and maintainable web applications!
1.62k stars 109 forks source link

Update formatting of functions with no arguments to include empty brackets? #136

Closed iteles closed 5 years ago

iteles commented 5 years ago

When I ran mix format on the lib/animals.ex file (elixir v1.9), it added brackets to functions with no params in function definitions: image

Given that this is code we have told people to write in the readme, should we update it to include the () after Animals.create_zoo and Animals.randomise() for consistency with the latest conventions on this?