diff --git a/.credo.exs b/.credo.exs index 4c4dc1fac..9bbd9bc46 100644 --- a/.credo.exs +++ b/.credo.exs @@ -165,7 +165,7 @@ {Credo.Check.Readability.StrictModuleLayout, [ order: - ~w/shortdoc moduledoc behaviour use import alias require module_attribute type typep defstruct callback callback_impl public_fun private_fun/a + ~w/shortdoc moduledoc behaviour use import alias require module_attribute type typep defstruct callback public_macro private_macro callback_impl public_fun private_fun/a ]}, {Credo.Check.Consistency.MultiAliasImportRequireUse, []}, {Credo.Check.Consistency.UnusedVariableNames, []}, diff --git a/priv/templates/nimble_template/.credo.exs b/priv/templates/nimble_template/.credo.exs index 519073dd2..cdac8ca5b 100644 --- a/priv/templates/nimble_template/.credo.exs +++ b/priv/templates/nimble_template/.credo.exs @@ -159,7 +159,7 @@ {Credo.Check.Readability.StrictModuleLayout, [ order: - ~w/shortdoc moduledoc behaviour use import alias require module_attribute type typep defstruct callback callback_impl public_fun private_fun/a + ~w/shortdoc moduledoc behaviour use import alias require module_attribute type typep defstruct callback public_macro private_macro callback_impl public_fun private_fun/a ]}, {Credo.Check.Consistency.MultiAliasImportRequireUse, []}, {Credo.Check.Consistency.UnusedVariableNames, false},