aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2021-01-15 14:32:17 +1300
committerTom Ryder <tom@sanctum.geek.nz>2021-01-15 14:32:17 +1300
commit296168da62de7b75343461d6ae4df216db437248 (patch)
tree808d039a58eed697c7b8607bbd740dd9d388969a
parentAdjust single-character escapes in tmux config (diff)
downloaddotfiles-296168da62de7b75343461d6ae4df216db437248.tar.gz
dotfiles-296168da62de7b75343461d6ae4df216db437248.zip
Ignore false-positives from double-sigil Critic
-rw-r--r--perlcritic/perlcriticrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/perlcritic/perlcriticrc b/perlcritic/perlcriticrc
index 0bd59c98..37f033fe 100644
--- a/perlcritic/perlcriticrc
+++ b/perlcritic/perlcriticrc
@@ -20,6 +20,11 @@ add_exceptions = inet4 inet6 ipv4 ipv6
# Cool story, bro
[-Editor::RequireEmacsFileVariables]
+# Postfix dereferencing like $foo->@* causes false positives for this policy,
+# a known bug; it's not fixed yet, so we'll just block this policy in the
+# meantime: <https://github.com/Perl-Critic/Perl-Critic/issues/578>
+[-References::ProhibitDoubleSigils]
+
# 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), 60 (for angles and clocks), and 1900 (for localtime)