summaryrefslogtreecommitdiff
path: root/perlcriticrc
diff options
context:
space:
mode:
authorjake <jake@jakes-mail.top>2022-08-17 02:41:32 -0400
committerjake <jake@jakes-mail.top>2022-08-17 02:45:30 -0400
commit0c204b825c59b29730a3132aa06e2e640e095b7f (patch)
tree61986a2a6e2bae47b9e31a261fb76e7f34f28a28 /perlcriticrc
parent8cbc34cc274c6d37baba2ce76757d1411430ebee (diff)
Appease perlcritic. Refactoring and many other changes
Comment out Smart::Comments
Diffstat (limited to 'perlcriticrc')
-rw-r--r--perlcriticrc18
1 files changed, 18 insertions, 0 deletions
diff --git a/perlcriticrc b/perlcriticrc
new file mode 100644
index 0000000..19f4bd5
--- /dev/null
+++ b/perlcriticrc
@@ -0,0 +1,18 @@
+severity = brutal
+# In this project, regex usage is minimal and simple.
+# /x
+[-RegularExpressions::RequireExtendedFormatting]
+# /m
+[-RegularExpressions::RequireLineBoundaryMatching]
+# /s
+[-RegularExpressions::RequireDotMatchAnything]
+[-ErrorHandling::RequireCarping]
+[ValuesAndExpressions::ProhibitMagicNumbers]
+allowed_values = -4..100
+[-ValuesAndExpressions::ProhibitNoisyQuotes]
+[-ValuesAndExpressions::ProhibitEmptyQuotes]
+[InputOutput::RequireCheckedSyscalls]
+functions = :builtins
+exclude_functions = print say
+# It is tidy in my heart
+[-CodeLayout::RequireTidyCode]