In my Phoenix app I have the following code:
attrs = %{"name" => "mat", "color" => "blue"}
conn = post(conn, Routes.session_path(conn, :create), player: attrs)
expected_player = %Player{name: "mat", color: "blue"}
the problem is that when I run mix.format
task it updates it to something like this:
attrs = %{"name" => "mat", "color" => "blue"}
conn = post(conn, Routes.session_path(conn, :create), player: attrs)
expected_player = %Player{name: "mat", color: "blue"}
Which for me is less readable. Is there any way of configure mix formatter to not remove my indentation?