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 <[email protected]> wrote: > 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 using credo which check these > conventions, but no way to automatically apply fixes at the moment, > which means it can be a bit painful to do that manually. Feels like > mix format might be a good place for this to live. > -- > 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 [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/598e7f82-aa62-45a6- > ab33-4f5f3593befcn%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/598e7f82-aa62- > 45a6-ab33- > 4f5f3593befcn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/3c89d96c0e7333b4a3ec611fd70aa9067a2ec6af%40hey.com.
