Re: [elixir-core:10837] [Proposal] Add auto-formatting of alias/import/use statements to mix format

2022-03-18 Thread Wojtek Mach
I don't think the proposal is going to be accepted. A very important design goal of `mix format` is never to change the semantics of the code and changing the order of statements is changing semantics. On March 18, 2022, elixir-lang-core wrote: > The Elixir style guide has guidance on how to

[elixir-core:10837] [Proposal] Add auto-formatting of alias/import/use statements to mix format

2022-03-18 Thread 'Tim Gent' via elixir-lang-core
The Elixir style guide has guidance on how to organise module attributes, directives, and macros - https://github.com/christopheradams/elixir_style_guide#module-attribute-ordering What do people think about applying these conventions as part of mix format? Background - we have linting rules