Skip to content
Browse files

Bring in .perlcriticrc and .perltidyrc.

Addresses #6.
  • Loading branch information...
1 parent 5f39ef0 commit 04875cef6c7b2fd13c5de71e4575c75e3c2576bf @nrr committed Mar 31, 2012
Showing with 36 additions and 0 deletions.
  1. +18 −0 .perlcriticrc
  2. +18 −0 .perltidyrc
View
18 .perlcriticrc
@@ -0,0 +1,18 @@
+severity = 3
+theme = core
+
+[-Subroutines::ProhibitUnusedPrivateSubroutines]
+
+[-Miscellanea::RequireRcsKeywords]
+
+[-Documentation::RequirePodLinksIncludeText]
+
+[-ValuesAndExpressions::ProhibitLongChainsOfMethodCalls]
+
+[-Bangs::ProhibitBitwiseOperators]
+
+[Subroutines::RequireFinalReturn]
+terminal_funcs = pod2usage throw_error throw_fatal
+
+[Modules::RequireExplicitPackage]
+allow_import_of = utf8
View
18 .perltidyrc
@@ -0,0 +1,18 @@
+# PBP .perltidyrc file
+
+-l=72 # Max line width is 72 cols
+-i=4 # Indent level is 4 cols
+-ci=4 # Continuation indent is 4 cols
+-b # Backup and modify in-place
+-se # Errors to STDERR
+-vt=2 # Maximal vertical tightness
+-cti=0 # No extra indentation for closing brackets
+-pt=0 # Medium parenthesis tightness
+-bt=1 # Medium brace tightness
+-sbt=1 # Medium square bracket tightness
+-bbt=1 # Medium block brace tightness
+-sbl # Opening sub braces go on the left (like Linux C style)
+-nsfs # No space before semicolons
+-nolq # Don't outdent long quoted strings
+-wbb="% + - * / x != == >= <= =~ < > | & **= += *= &= <<= &&= -= /= |= >>= ||= .= %= ^= x="
+ # Break before all operators

0 comments on commit 04875ce

Please sign in to comment.
Something went wrong with that request. Please try again.