From 66d0560796dfe3f753d286f10a38b1c5739f8620 Mon Sep 17 00:00:00 2001 From: Blake Kostner Date: Mon, 8 Aug 2022 21:44:38 -0600 Subject: [PATCH] Update ModuleDoc regex for LiveView --- lib/credo/check/readability/module_doc.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/credo/check/readability/module_doc.ex b/lib/credo/check/readability/module_doc.ex index 701bced14..3af568e75 100644 --- a/lib/credo/check/readability/module_doc.ex +++ b/lib/credo/check/readability/module_doc.ex @@ -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: [