   end
 
   defp add_switch_ignore(exec, _), do: exec
-
-  # DEPRECATED command line switches
-  defp add_switch_deprecated_switches(exec, %{one_line: true}) do
-    UI.warn([
-      :yellow,
-      "[DEPRECATED] ",
-      :faint,
-      "--one-line is deprecated in favor of --format=oneline"
-    ])
-
-    %Execution{exec | format: "oneline"}
-  end
-
-  defp add_switch_deprecated_switches(exec, _), do: exec
 end

defmodule Credo.ConfigBuilder do
  alias Credo.CLI.Filename
  alias Credo.CLI.Options
  alias Credo.CLI.Output.UI
  alias Credo.ConfigFile
  alias Credo.Execution


    |> add_switch_strict(switches)
    |> add_switch_crash_on_error(switches)
    |> add_switch_mute_exit_status(switches)
    |> add_switch_format(switches)
    |> add_switch_help(switches)
    |> add_switch_ignore(switches)
