-
-
Save mfontani/3008450d803dfbe42865 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
severity = 1 | |
verbose = 8 | |
# Allows us to set use strict;use warnings before package keyword | |
[-Modules::RequireExplicitPackage] | |
[Lax::RequireExplicitPackage::ExceptForPragmata] | |
# make scripts - like t/ - exempt from this policy | |
exempt_scripts = 1 | |
# this is what we *use* to make this module work... | |
[-ClassHierarchies::ProhibitAutoloading] | |
# this is the structure for the version modules.. | |
[-NamingConventions::Capitalization] | |
# Until we get a proper working perltidyrc | |
[-CodeLayout::RequireTidyCode] | |
# "noisy" quotes are totally fine. | |
[-ValuesAndExpressions::ProhibitNoisyQuotes] | |
[-ValuesAndExpressions::ProhibitEmptyQuotes] | |
[-Lax::ProhibitEmptyQuotes::ExceptAsFallback] | |
[-Miscellanea::RequireRcsKeywords] | |
[-Modules::RequireVersionVar] | |
[-BuiltinFunctions::ProhibitUselessTopic] | |
[TestingAndDebugging::RequireUseStrict] | |
equivalent_modules = common::sense strictures Moose | |
[TestingAndDebugging::RequireUseWarnings] | |
equivalent_modules = common::sense Moose | |
# We are simply *fine* with subs sometimes not requiring a final return | |
[-Subroutines::RequireFinalReturn] | |
# We are fine with something explicitly returning 'undef' | |
[-Subroutines::ProhibitExplicitReturnUndef] | |
[ControlStructures::ProhibitPostfixControls] | |
allow = for if | |
[-Variables::RequireLocalizedPunctuationVars] | |
[Variables::ProhibitPunctuationVars] | |
allow = $@ $! $? | |
[Documentation::RequirePodSections] | |
lib_sections = NAME | SYNOPSIS | DESCRIPTION | SUBROUTINES/METHODS | COPYRIGHT AND LICENSE | AUTHOR |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment