Skip to content

Commit

Permalink
Improve the rules
Browse files Browse the repository at this point in the history
  • Loading branch information
andyduong1920 committed Sep 23, 2022
1 parent 225a1fd commit 38215a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -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, []},
Expand Down
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 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},
Expand Down

0 comments on commit 38215a8

Please sign in to comment.