From 0c204b825c59b29730a3132aa06e2e640e095b7f Mon Sep 17 00:00:00 2001 From: jake Date: Wed, 17 Aug 2022 02:41:32 -0400 Subject: Appease perlcritic. Refactoring and many other changes Comment out Smart::Comments --- perlcriticrc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 perlcriticrc (limited to 'perlcriticrc') 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] -- cgit v1.2.3