Skip to content

Commit

Permalink
Merge pull request #988 from btkostner/patch-1
Browse files Browse the repository at this point in the history
Update ModuleDoc regex for LiveView
  • Loading branch information
rrrene authored Aug 10, 2022
2 parents baba444 + 66d0560 commit 2e0c540
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/credo/check/readability/module_doc.ex
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ defmodule Credo.Check.Readability.ModuleDoc do
use Credo.Check,
param_defaults: [
ignore_names: [
~r/(\.\w+Controller|\.Endpoint|\.\w+Live|\.Repo|\.Router|\.\w+Socket|\.\w+View)$/
~r/(\.\w+Controller|\.Endpoint|\.\w+Live(\.\w+)?|\.Repo|\.Router|\.\w+Socket|\.\w+View)$/
]
],
explanations: [
Expand Down

0 comments on commit 2e0c540

Please sign in to comment.