JsFormatter. Config
(js_formatter v0.1.0)
Copy Markdown
Normalized command profile used for a formatter invocation.
Consumers define named profiles with config :js_formatter. A profile
selects an executable plus its arguments and execution environment. Options
in the :js_formatter section of .formatter.exs may select or override the
configured profile.
Summary
Types
@type t() :: %JsFormatter.Config{ args: [String.t()], cd: Path.t(), command: String.t(), env: %{optional(String.t()) => String.t()}, error_on_warnings: boolean(), extensions: [String.t()], format_runtime: boolean(), profile: atom(), success_output: :ignore | :warnings | :always, temporary_directory: Path.t(), types: [String.t()] }