Export formatter configuration to allow clients import it as formatting options on their own formatter.exs file. This is a similar approach to what ecto and phoenix apply on their formatter files.
Library clients can inherit this configuration by adding the library name in the import_deps option which will automatically inherit configurations that are defined inside the library export option.
Export formatter configuration to allow clients import it as formatting options on their own
formatter.exs
file. This is a similar approach to what ecto and phoenix apply on their formatter files.Library clients can inherit this configuration by adding the library name in the
import_deps
option which will automatically inherit configurations that are defined inside the libraryexport
option.For more information, check mix format docs and Code.format_string/2.