aboutsummaryrefslogtreecommitdiff
path: root/perlcritic
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2017-10-06 21:19:57 +1300
committerTom Ryder <tom@sanctum.geek.nz>2017-10-06 21:19:57 +1300
commit5ef627e8af33c9ea61553ba31624a05339175e67 (patch)
treee1490af054cf6228b1df82b962b5e16d475ea130 /perlcritic
parentAllow 10 and 1000 as literals (diff)
downloaddotfiles-5ef627e8af33c9ea61553ba31624a05339175e67.tar.gz
dotfiles-5ef627e8af33c9ea61553ba31624a05339175e67.zip
Ignore a Perl::Critic policy
Diffstat (limited to 'perlcritic')
-rw-r--r--perlcritic/perlcriticrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/perlcritic/perlcriticrc b/perlcritic/perlcriticrc
index 7428792a..e8d13dcd 100644
--- a/perlcritic/perlcriticrc
+++ b/perlcritic/perlcriticrc
@@ -10,6 +10,10 @@ severity = brutal
[Bangs::ProhibitNumberedNames]
add_exceptions = inet4 inet6 ipv4 ipv6
+# I'll keep code running for old Perls, but users are on their own with
+# documentation, so allow e.g. L<http://...> on Perl 5.6
+[-Compatibility::PodMinimumVersion]
+
# Soften this policy a bit; tolerate all the single-digit integers as literals,
# and also three powers of 10 (for percentages, milliseconds etc)
[ValuesAndExpressions::ProhibitMagicNumbers]