Answers for "elixir format code"

0

elixir format code

# Add file $PWD/.formatter.exs
[
  import_deps: [:ecto, :phoenix],
  inputs: ["*.{ex,exs}", "priv/*/seeds.exs", "{config,lib,test}/**/*.{ex,exs}"],
  subdirectories: ["priv/*/migrations"]
]

mix format
Posted by: Guest on January-10-2022

Browse Popular Code Answers by Language