diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-06 21:19:57 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-10-06 21:19:57 +1300 |
commit | 5ef627e8af33c9ea61553ba31624a05339175e67 (patch) | |
tree | e1490af054cf6228b1df82b962b5e16d475ea130 /perlcritic | |
parent | Allow 10 and 1000 as literals (diff) | |
download | dotfiles-5ef627e8af33c9ea61553ba31624a05339175e67.tar.gz dotfiles-5ef627e8af33c9ea61553ba31624a05339175e67.zip |
Ignore a Perl::Critic policy
Diffstat (limited to 'perlcritic')
-rw-r--r-- | perlcritic/perlcriticrc | 4 |
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] |