Skip to content

Commit

Permalink
remove comments
Browse files Browse the repository at this point in the history
  • Loading branch information
btkostner authored Dec 19, 2023
1 parent 3b236d2 commit c43d13a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/credo/check/readability/strict_module_layout.ex
Original file line number Diff line number Diff line change
Expand Up @@ -135,16 +135,13 @@ defmodule Credo.Check.Readability.StrictModuleLayout do
end)
|> Stream.reject(fn {part, meta} ->
cond do
# Ignore all regular parts from the `ignore` list.
part in ignored_parts ->
true

# Ignore module attributes if the attribute name is in the `ignore_module_attributes` list.
part == :module_attribute and
Keyword.get(meta, :attribute, nil) in ignore_module_attributes ->
true

# Everything else is checked.
true ->
false
end
Expand Down

0 comments on commit c43d13a

Please sign in to comment.