aboutsummaryrefslogtreecommitdiff
path: root/perlcritic.rc
diff options
context:
space:
mode:
authordakkar <dakkar@thenautilus.net>2017-02-07 19:16:13 +0000
committerdakkar <dakkar@thenautilus.net>2017-02-07 19:16:13 +0000
commitad624983e7a324a1522ee46ca5f454a071c30177 (patch)
treeb85c6b47fd8d0db5648064b3f87ed8c3a8a02224 /perlcritic.rc
parentfix POD syntax (diff)
downloadSietima-ad624983e7a324a1522ee46ca5f454a071c30177.tar.gz
Sietima-ad624983e7a324a1522ee46ca5f454a071c30177.tar.bz2
Sietima-ad624983e7a324a1522ee46ca5f454a071c30177.zip
don't critique Moo's builders
they're private methods, but they're not unused
Diffstat (limited to 'perlcritic.rc')
-rw-r--r--perlcritic.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/perlcritic.rc b/perlcritic.rc
index be04a88..e8d987d 100644
--- a/perlcritic.rc
+++ b/perlcritic.rc
@@ -320,6 +320,7 @@ severity = 2
# Prevent unused private subroutines.
[Subroutines::ProhibitUnusedPrivateSubroutines]
+private_name_regex = _(?!build_)\w+
# Prevent access to private subs in other packages.
[Subroutines::ProtectPrivateSubs]