Skip to content

Commit

Permalink
chore(tools): only issue AliasUsage for app modules (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gladear authored Jan 15, 2025
1 parent 3515ef8 commit b077053
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .credo.exs
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,10 @@
priority: :low,
if_nested_deeper_than: 2,
if_called_more_often_than: 0,
excluded_namespaces: [
"File",
"IO",
"Inspect",
"Kernel",
"Macro",
"Supervisor",
"Task",
"Version",
"Phoenix"
]
# Only force aliasing for modules from the project.
# Aliasing modules from external libraries is not enforced,
# and can be done at the discretion of the developer.
only: ~r/^App(Web)?\./
]},
{Credo.Check.Design.DuplicatedCode, []},

Expand Down

0 comments on commit b077053

Please sign in to comment.