forked from hoelzro/inline-lua
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.perlcriticrc
More file actions
35 lines (28 loc) · 1.08 KB
/
.perlcriticrc
File metadata and controls
35 lines (28 loc) · 1.08 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# vim: ft=dosini
color = 1
verbose = [%p] %f:%l - %m. (%e) (Severity: %s)\n
[-ValuesAndExpressions::ProhibitLeadingZeros]
[-ControlStructures::ProhibitUnlessBlocks]
[-References::ProhibitDoubleSigils]
[-ValuesAndExpressions::ProhibitEmptyQuotes]
[-Variables::ProhibitPunctuationVars]
[-Lax::ProhibitEmptyQuotes::ExceptAsFallback]
# disable for the time being; I'm still getting used to this perlcritic thing
[-CodeLayout::RequireTidyCode]
[Lax::ProhibitLeadingZeros::ExceptChmod]
[ControlStructures::ProhibitPostfixControls]
allow = if unless
# These are disabled for the "default" profile, because
# Dist::Zilla generates them for us
[-Documentation::RequirePodLinksIncludeText]
[-Documentation::RequirePodSections]
[-Documentation::PodSpelling]
[-Modules::RequireVersionVar]
[-Miscellanea::ProhibitUselessNoCritic]
[Bangs::ProhibitCommentedOutCode]
[Bangs::ProhibitFlagComments]
[Bangs::ProhibitNumberedNames]
# This project favors the my $arg = shift; I can move away from this...
[-Subroutines::RequireArgUnpacking]
[-ErrorHandling::RequireUseOfExceptions]
[-Modules::ProhibitMultiplePackages]