aboutsummaryrefslogtreecommitdiff
path: root/perlcritic.rc
diff options
context:
space:
mode:
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]