You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

50 rivejä
1.5 KiB

  1. # Show the severity level
  2. severity = 1
  3. # Basically show what profile is complaining
  4. verbose = %f:%l:%c: %m, %e (%p, severity %s)\n
  5. # Don't warn on these variables
  6. [Variables::ProhibitPunctuationVars]
  7. allow = $@ $!
  8. # Ignore syscall returns on print, it not actually returning is... whatever.
  9. [InputOutput::RequireCheckedSyscalls]
  10. exclude_functions = print say
  11. # Allow things like print qx(somecmd) in a void context to work, this is ok.
  12. [InputOutput::ProhibitBacktickOperators]
  13. only_in_void_context = 1
  14. # I actually like using unless... so don't piss me off whinging about it
  15. [-ControlStructures::ProhibitUnlessBlocks]
  16. # The following only apply to modules
  17. [-Modules::RequireVersionVar]
  18. [-ErrorHandling::RequireCarping]
  19. # Tabs suck, no
  20. [CodeLayout::ProhibitHardTabs]
  21. allow_leading_tabs = 0
  22. # For small regexes, no /x at the end is fine, 12 should be enough
  23. [RegularExpressions::RequireExtendedFormatting]
  24. minimum_regex_length_to_complain_about = 12
  25. # These are kosher kthxbai
  26. [ControlStructures::ProhibitPostfixControls]
  27. allow = for if until unless
  28. # For POE, we do things like my $foo = $_[HEAP]; and thats OK
  29. [Subroutines::RequireArgUnpacking]
  30. allow_subscripts = 1
  31. # For POD documentation, I don't care about required sections.
  32. [Documentation::RequirePodSections]
  33. lib_sections = NAME | SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT | SEE ALSO
  34. script_sections = NAME | SYNOPSIS | DESCRIPTION | AUTHOR | COPYRIGHT | SEE ALSO
  35. # This is for POD documentation mainly.
  36. [CodeLayout::ProhibitHardTabs]
  37. allow_leading_tabs = 1