summaryrefslogtreecommitdiff
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 651ba52..7bfe7a1 100644
--- a/perlcritic.rc
+++ b/perlcritic.rc
@@ -319,6 +319,7 @@ severity = 2
# Prevent unused private subroutines.
[Subroutines::ProhibitUnusedPrivateSubroutines]
+private_name_regex = _(?!build_)\w+
# Prevent access to private subs in other packages.
[Subroutines::ProtectPrivateSubs]