Skip to content

Commit

Permalink
Update ModuleDoc regex for LiveView
Browse files Browse the repository at this point in the history
  • Loading branch information
btkostner authored Aug 9, 2022
1 parent baba444 commit 66d0560
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 66d0560

Please sign in to comment.