verbose = %f:%l:%c:\n %p: %m\n
theme = (core || more) && !deprecated

[ControlStructures::ProhibitPostfixControls]
flowcontrol = warn die carp croak cluck confess goto exit throw return next

[RegularExpressions::RequireExtendedFormatting]
minimum_regex_length_to_complain_about = 7

[InputOutput::RequireCheckedSyscalls]
functions = :builtins
exclude_functions = print

[Modules::PerlMinimumVersion]
version = 5.008003

[ValuesAndExpressions::ProhibitMagicNumbers]
allowed_values = -1 0 1 2

# Excluded because Moose builder subroutines get hit by this.
[Subroutines::ProhibitUnusedPrivateSubroutines]
private_name_regex = _(?!build_)\w+

[Documentation::PodSpelling]
stop_words_file = xt/settings/stopwords.txt

# Exclusions

# I like to set up my own pod.
[-Documentation::RequirePodAtEnd]
[-Documentation::RequirePodSections]

# No Emacs!
[-Editor::RequireEmacsFileVariables]

# We have the command that needs to start with lowercase.
[-NamingConventions::Capitalization]
