Created
February 1, 2020 09:54
-
-
Save tschaefer/021f741467904ba96757e0f7a2ca44da to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# General settings | |
severity = 3 | |
verbose = %F (line:%l) %m, %e [%p]\n | |
include = CodeLayout Documentation InputOutput Modules::ProhibitMultiplePackages | |
exclude = CodeLayout::RequireTidyCode RegularExpressions::RequireExtendedFormatting Moose::RequireCleanNamespace Documentation::RequirePodLinksIncludeText Subroutines::ProhibitUnusedPrivateSubroutines | |
# Rules for POD | |
[Documentation::RequirePodSections] | |
lib_sections = NAME | DESCRIPTION | METHODS | |
script_sections = NAME | SYNOPSIS | OPTIONS | DESCRIPTION | |
# Max. 4 arguments for subroutines | |
[Subroutines::ProhibitManyArgs] | |
max_arguments = 4 | |
# Definition of PerlTidy layout | |
[CodeLayout::RequireTidyCode] | |
perltidyrc = | |
# Check result of syscalls | |
[InputOutput::RequireCheckedSyscalls] | |
functions = close open | |
# Exceptions for Warnings | |
[TestingAndDebugging::ProhibitNoWarnings] | |
allow = uninitialized once | |
# Suspicious subroutine names | |
[Subroutines::ProhibitSuspiciousNames] | |
suspicious = foo bar baz foobar foobaz run2 childs | |
# List of evil variables (see perlvar) | |
[Variables::ProhibitEvilVariables] | |
variables = $& $` $' $+ $* $. $. $/ $| $, $\ $" $; $# $% $= $- $~ $^ $: $^L $^A $? $! $@ $$ $< $> $( $) $0 $[ $] $^D $^F $^| $^P $^W $^X |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment