summaryrefslogtreecommitdiffstats
path: root/.perlcriticrc
diff options
context:
space:
mode:
authorDylan William Hardison <dylan@hardison.net>2017-11-27 17:59:15 +0100
committerGitHub <noreply@github.com>2017-11-27 17:59:15 +0100
commitaa8e455c9735d5a7ea4703dba3f22a69e07b9698 (patch)
treebf9b9c454946e248593f7a39528d3f9a4cb079bd /.perlcriticrc
parent6c437576ffbec1a3f7296302f8594f89653992dd (diff)
downloadbugzilla-aa8e455c9735d5a7ea4703dba3f22a69e07b9698.tar.gz
bugzilla-aa8e455c9735d5a7ea4703dba3f22a69e07b9698.tar.xz
no bug - tweaks for conduit/phabricator dev environments
* tweak * change around unsafe auth delegation to work in bmo container * fixes for critic errors
Diffstat (limited to '.perlcriticrc')
-rw-r--r--.perlcriticrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/.perlcriticrc b/.perlcriticrc
index b61acbbc5..84eb0f8a5 100644
--- a/.perlcriticrc
+++ b/.perlcriticrc
@@ -1,6 +1,12 @@
theme = freenode || core || certrec || certrule || performance || security
severity = 1
+[-CodeLayout::RequireTidyCode]
+#perltidyrc = .perltidyrc
+[InputOutput::RequireCheckedSyscalls]
+functions = :builtins
+exclude_functions = print
+
[-BuiltinFunctions::ProhibitUselessTopic]
[-ControlStructures::ProhibitCascadingIfElse]
[-ControlStructures::ProhibitPostfixControls]
@@ -19,6 +25,7 @@ severity = 1
[-ValuesAndExpressions::ProhibitVersionStrings]
[-Variables::ProhibitLocalVars]
[-Variables::ProhibitPackageVars]
+[-ValuesAndExpressions::ProhibitNoisyQuotes]
# this policy is broken currently
[-Freenode::PackageMatchesFilename]