diff --git a/.credo.exs b/.credo.exs index c1c33a33..9bbd9bc4 100644 --- a/.credo.exs +++ b/.credo.exs @@ -165,8 +165,7 @@ {Credo.Check.Readability.StrictModuleLayout, [ order: - ~w/shortdoc moduledoc behaviour use import alias require module_attribute defstruct callback public_fun private_fun/a, - ignore: ~w/callback_impl/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 900f3826..cdac8ca5 100644 --- a/priv/templates/nimble_template/.credo.exs +++ b/priv/templates/nimble_template/.credo.exs @@ -159,8 +159,7 @@ {Credo.Check.Readability.StrictModuleLayout, [ order: - ~w/shortdoc moduledoc behaviour use import alias require module_attribute defstruct callback public_fun private_fun/a, - ignore: ~w/callback_impl/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},