Ian
Ian

Reputation: 562

Elixir's `mix format` configuration options

I'm trying to find a list a configurable options for mix format to put in the formatter config file, but I can't for the life of me find it. It's not in the mix format docs or anywhere else I've looked. Anyone know where I can find this information?

Upvotes: 9

Views: 6897

Answers (2)

frost-nzcr4
frost-nzcr4

Reputation: 1620

When you need a bunch of options to fine tune the format of your project, then try one of these tools https://github.com/h4cc/awesome-elixir#code-analysis, we are currently using credo.

Upvotes: 3

Ian
Ian

Reputation: 562

It turns out that mix format does not have a lot of options to set, and what you see on the mix docs page is exactly what you get. It seems there are not a breadth of settings to make it more opinionated.

Upvotes: 9

Related Questions