Skip to content
Browse files

add a perlcritcrc file

  • Loading branch information...
1 parent b22d2b5 commit d49949d34f46f023813f2d6363d7bcdcaa2cbff2 @petdance petdance committed
Showing with 37 additions and 3 deletions.
  1. +1 −1 Makefile.PL
  2. +35 −0 perlcriticrc
  3. +1 −2 tags
View
2 Makefile.PL
@@ -49,7 +49,7 @@ tags:
--languages=Perl --langmap=Perl:+.t \
critic:
- perlcritic -1 -q lib/Text/Textile.pm t/*.t
+ perlcritic -1 -profile perlcriticrc -q lib/Text/Textile.pm t/*.t
MAKE_FRAG
}
View
35 perlcriticrc
@@ -0,0 +1,35 @@
+[-CodeLayout::ProhibitParensWithBuiltins]
+[CodeLayout::ProhibitHardTabs]
+allow_leading_tabs = 0
+[-CodeLayout::RequireTidyCode]
+# Never works for me.
+
+[-ControlStructures::ProhibitPostfixControls]
+
+[-Documentation::RequirePodAtEnd]
+[-Documentation::RequirePodSections]
+
+[-ErrorHandling::RequireCarping]
+
+[-InputOutput::ProhibitInteractiveTest]
+[-InputOutput::ProhibitBacktickOperators]
+[-InputOutput::RequireCheckedSyscalls]
+functions = open opendir read readline readdir close closedir
+
+[-Miscellanea::RequireRcsKeywords]
+
+[-Modules::RequireVersionVar]
+
+[-RegularExpressions::RequireDotMatchAnything]
+[-RegularExpressions::RequireExtendedFormatting]
+[-RegularExpressions::RequireLineBoundaryMatching]
+
+[-Subroutines::RequireArgUnpacking]
+
+[-ValuesAndExpressions::ProhibitNoisyQuotes]
+[-ValuesAndExpressions::ProhibitEmptyQuotes]
+[-ValuesAndExpressions::ProhibitMagicNumbers]
+
+
+[-Variables::ProhibitPackageVars]
+[-Variables::ProhibitPunctuationVars]
View
3 tags
@@ -5,7 +5,6 @@
!_TAG_PROGRAM_URL http://ctags.sourceforge.net /official site/
!_TAG_PROGRAM_VERSION 5.7 //
MY Makefile.PL /^sub MY::postamble {$/;" s
-Repository Makefile.PL /^ Repository: http:\/\/code.google.com\/p\/text-textile\/source$/;" l
Text::Textile lib/Text/Textile.pm /^package Text::Textile;$/;" p
_css_defaults lib/Text/Textile.pm /^sub _css_defaults {$/;" s
_halign lib/Text/Textile.pm /^sub _halign {$/;" s
@@ -22,6 +21,7 @@ critic Makefile.PL /^critic:$/;" l
css lib/Text/Textile.pm /^sub css {$/;" s
decode_html lib/Text/Textile.pm /^ sub decode_html {$/;" s
default_macros lib/Text/Textile.pm /^sub default_macros {$/;" s
+disable_encode_entities lib/Text/Textile.pm /^sub disable_encode_entities {$/;" s
disable_html lib/Text/Textile.pm /^sub disable_html {$/;" s
docroot lib/Text/Textile.pm /^sub docroot {$/;" s
encode_html lib/Text/Textile.pm /^ sub encode_html {$/;" s
@@ -54,7 +54,6 @@ new lib/Text/Textile.pm /^sub new {$/;" s
preserve_spaces lib/Text/Textile.pm /^sub preserve_spaces {$/;" s
process lib/Text/Textile.pm /^sub process {$/;" s
process_quotes lib/Text/Textile.pm /^sub process_quotes {$/;" s
-resources Makefile.PL /^resources:$/;" l
set lib/Text/Textile.pm /^sub set {$/;" s
tags Makefile.PL /^tags:$/;" l
textile lib/Text/Textile.pm /^sub textile {$/;" s

0 comments on commit d49949d

Please sign in to comment.
Something went wrong with that request. Please try again.