diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2018-03-22 09:25:34 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2018-03-22 09:25:34 +1300 |
commit | 373f8dd263f114ccb36da82ce4825f6afaff1225 (patch) | |
tree | 040f829680a9e6485e5a26c3c3eea8e9a5c8511f /perlcritic/perlcriticrc | |
parent | Merge branch 'hotfix/v0.30.1' (diff) | |
parent | Rebuild dotfiles(7) manual page from README (diff) | |
download | dotfiles-0.31.0.tar.gz (sig) dotfiles-0.31.0.zip |
Merge branch 'release/v0.31.0'v0.31.0
* release/v0.31.0:
Rebuild dotfiles(7) manual page from README
Bump VERSION
Further soften magic numbers Perl::Critic rule
Prompt for message deletion in Mutt
Silence errors from missing mesg(1)
Diffstat (limited to 'perlcritic/perlcriticrc')
-rw-r--r-- | perlcritic/perlcriticrc | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/perlcritic/perlcriticrc b/perlcritic/perlcriticrc index bc8453f8..91bc1540 100644 --- a/perlcritic/perlcriticrc +++ b/perlcritic/perlcriticrc @@ -17,7 +17,8 @@ add_exceptions = inet4 inet6 ipv4 ipv6 # This one causes more trouble than it's worth, too [-Documentation::RequirePODUseEncodingUTF8] -# Soften this policy a bit; tolerate all the single-digit integers as literals, -# and also three powers of 10 (for percentages, milliseconds etc) +# Soften this rather harsh policy a fair bit; tolerate negative one, all the +# single-digit integers as literals, three powers of 10 (for percentages, +# milliseconds etc), and 1900 (for localtime) [ValuesAndExpressions::ProhibitMagicNumbers] -allowed_values = 0..9 10 100 1000 +allowed_values = -1 0..9 10 100 1000 1900 |