问题
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?
回答1:
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.
回答2:
You should read the docs: Formatting Options
There are plenty of guides to get you started online as well, for example: Everything you need to know about Elixir's new formatter
来源:https://stackoverflow.com/questions/50958098/elixirs-mix-format-configuration-options