I am curious about :export
and :import_deps
in the formatter config files.
I am assuming, for example, that if I import deps from phoenix, since they export locals_without_parens
, that the formatter in my project shouldn’t add parens to certain macros.
Maybe I’m not using it correctly or understanding what it should do, but I am not noticing any difference in formatter behaviour with or without the import.
Is this not the correct way to import deps?
import_deps: [:ecto, :phoenix, :plug]
or am I misunderstanding the intended behaviour?