Elixir's `mix format` configuration options

自古美人都是妖i 提交于 2019-12-25 04:01:33

问题


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

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!