X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=perl%2Fperlcriticrc;h=6fb1f062c9fdd8f0f5ec1f168c0848e75782b949;hb=HEAD;hp=357a493394d9a9a0e4efacb9ebeec68ac4b46857;hpb=9576dd226b9be83023388ddf2f67803836e6c74b;p=config%2Fdotfiles.git diff --git a/perl/perlcriticrc b/perl/perlcriticrc deleted file mode 100644 index 357a493..0000000 --- a/perl/perlcriticrc +++ /dev/null @@ -1,55 +0,0 @@ -# perlcritic configuration file - -# Copyright (C) 2012 Simon Ruderich -# -# This file is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation, either version 3 of the License, or -# (at your option) any later version. -# -# This file is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this file. If not, see . - - -# Be strict about errors in ~/.perlcriticrc. -profile-strictness = fatal - -# Display all errors/warnings by default. -severity = brutal - -# Use colored output. -color = 1 - - -# IMHO 'x' is more readable than q{x}, so ignore this warning. -[-ValuesAndExpressions::ProhibitNoisyQuotes] -# Same for '', ignore it too. -[-ValuesAndExpressions::ProhibitEmptyQuotes] - -# I know how /s, /x and /m work (and expect that from others), ignore these -# warnings. -[-RegularExpressions::RequireDotMatchAnything] -[-RegularExpressions::RequireExtendedFormatting] -[-RegularExpressions::RequireLineBoundaryMatching] - -# I prefer exact line numbers in errors, allow die instead of croak. I don't -# develop perl modules so it shouldn't be a problem. -[-ErrorHandling::RequireCarping] - -# IMHO "print $FH ..." is readable enough, "print {$FH} ..." is not necessary. -[-InputOutput::RequireBracedFileHandleWithPrint] - -# IMHO punctuation variables are more readable than their English counterparts -# (and faster in some cases). So allow the ones I use often. -[Variables::ProhibitPunctuationVars] -allow = $! $? $. $@ $/ $" $+ - -# Allow the usage of ".." when '..' occurs inside the string, e.g. in strings -# like ".. '..' ..". -[ValuesAndExpressions::ProhibitInterpolationOfLiterals] -allow_if_string_contains_single_quote = 1