Skip to content

Commit

Permalink
Update credo config to support check private vs public functions order
Browse files Browse the repository at this point in the history
  • Loading branch information
byhbt committed Sep 6, 2022
1 parent c1b9b36 commit c10c417
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion priv/templates/nimble_template/.credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
{Credo.Check.Readability.StrictModuleLayout,
[
order:
~w/shortdoc moduledoc behaviour use import alias require module_attribute defstruct callback/a
~w/shortdoc moduledoc behaviour use import alias require module_attribute defstruct callback public_fun private_fun/a
]},
{Credo.Check.Consistency.MultiAliasImportRequireUse, []},
{Credo.Check.Consistency.UnusedVariableNames, false},
Expand Down

0 comments on commit c10c417

Please sign in to comment.