Elixir 1.7.3 (compiled with Erlang/OTP 19) on macOS 10.13.6 installed via asdf.
I run mix format lib/hello_web/router.ex to the following code:
pipeline :browser do
plug :accepts, ["html"]
plug :fetch_session
plug :fetch_flash
plug :protect_from_forgery
plug :put_secure_browser_headers
end
Here is the result:
pipeline :browser do
plug(:accepts, ["html"])
plug(:fetch_session)
plug(:fetch_flash)
plug(:protect_from_forgery)
plug(:put_secure_browser_headers)
end
Why is mix format adding the () part? Did I misconfigured something? If yes: How can I fix it?