Packages

mix task for writing conventional commits

Current section

Files

Jump to
conventional_commits lib utils state.ex
Raw

lib/utils/state.ex

defmodule Utils.State do
@moduledoc false
defstruct type: nil,
scope: nil,
description: nil,
body: nil,
footer: nil,
required_footer: false,
required_body: false,
scoped: false,
breaking: false,
breaking_change_in_footer: false
@type t() :: %__MODULE__{
type: atom(),
scope: String.t(),
body: String.t(),
description: String.t(),
footer: String.t(),
required_footer: boolean(),
required_body: boolean(),
scoped: boolean(),
breaking: boolean(),
breaking_change_in_footer: boolean()
}
end