From 2341f4e8e08b4be80bf353644d1c078d67da0070 Mon Sep 17 00:00:00 2001 From: Rutger Vos Date: Thu, 21 Nov 2024 01:43:34 +0100 Subject: [PATCH] Create .perlcriticrc --- .perlcriticrc | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .perlcriticrc diff --git a/.perlcriticrc b/.perlcriticrc new file mode 100644 index 0000000..16ea54b --- /dev/null +++ b/.perlcriticrc @@ -0,0 +1,13 @@ +# .perlcriticrc +severity = gentle +verbose = %f: [%p] %m at line %l, column %c.\n + +# Disable some policies that don't apply to our scripts +[-Subroutines::RequireFinalReturn] +[-Variables::RequireLocalizedPunctuationVars] +[-InputOutput::RequireBriefOpen] + +# Configure specific policies +[Documentation::RequirePodSections] +lib_sections = NAME | SYNOPSIS | DESCRIPTION | AUTHOR +script_sections = NAME | SYNOPSIS | DESCRIPTION