From dbbac3fa739b825da6061c92d0414a0006cc8791 Mon Sep 17 00:00:00 2001 From: "Zane C. Bowers-Hadley" Date: Sat, 6 Jul 2024 22:04:52 -0500 Subject: [PATCH] add perl tidy and perl critic configs --- .perlcriticrc | 1 + .perltidyrc | 29 +++++++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .perlcriticrc create mode 100644 .perltidyrc diff --git a/.perlcriticrc b/.perlcriticrc new file mode 100644 index 000000000..ab2e45531 --- /dev/null +++ b/.perlcriticrc @@ -0,0 +1 @@ +exclude = ProhibitExplicitReturnUndef ProhibitOneArgBless ProhibitStringyEval diff --git a/.perltidyrc b/.perltidyrc new file mode 100644 index 000000000..87f068e2f --- /dev/null +++ b/.perltidyrc @@ -0,0 +1,29 @@ +-l=120 +-i=4 +-ci=4 +-st +-se + +-et=4 + +#-aws +-xci +#-dws +-vt=0 +-cti=0 +-bt=1 +-sbt=1 +-bbt=0 +-nsfs +-nolq +-ce +-csc +-csci=10 +-csct=40 +-cb +-iscl +-sbc +-nbbc + +-wbb="% + - * / x != == >= <= =~ !~ < > | & >= < = **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x=" +