diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 23:52:06 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2019-05-23 23:52:38 +1200 |
commit | 1a3c0f6c2548ae260059a5269b86c7f20fa0b69c (patch) | |
tree | c0ddfaeffa3c0cd636369d5f1fd8f1df79e3695d /perlcritic/perlcriticrc | |
parent | Merge branch 'release/v4.42.0' into develop (diff) | |
download | dotfiles-1a3c0f6c2548ae260059a5269b86c7f20fa0b69c.tar.gz dotfiles-1a3c0f6c2548ae260059a5269b86c7f20fa0b69c.zip |
Allow 60 as magic number in Perl::Critic
Diffstat (limited to 'perlcritic/perlcriticrc')
-rw-r--r-- | perlcritic/perlcriticrc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perlcritic/perlcriticrc b/perlcritic/perlcriticrc index 91bc1540..742c2239 100644 --- a/perlcritic/perlcriticrc +++ b/perlcritic/perlcriticrc @@ -19,6 +19,6 @@ add_exceptions = inet4 inet6 ipv4 ipv6 # 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) +# milliseconds etc), 60 (for angles and clocks), and 1900 (for localtime) [ValuesAndExpressions::ProhibitMagicNumbers] -allowed_values = -1 0..9 10 100 1000 1900 +allowed_values = -1 0..9 10 60 100 1000 1900 |