Elixir's `mix format` configuration options
Asked Answered
S

2

9

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?

Slip answered 20/6, 2018 at 22:48 Comment(1)
Maybe this article could helps: medium.com/blackode/…Shebat
S
9

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.

Slip answered 21/6, 2018 at 18:7 Comment(0)
C
3

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.

Criticism answered 17/3, 2021 at 17:30 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.