beginning to use the perl critic to clean up certian things in ikiwiki
[ikiwiki.git] / .perlcriticrc
1 theme = core + pbp + cosmetic + bugs + maintenance + complexity + security
2
3 # While there's good reason to not use subroutine prototypes, ikiwiki does
4 # use them, and changing away from them could lead to subtle bugs in stuff
5 # using the library. So for now, demote errors about them.
6 [Subroutines::ProhibitSubroutinePrototypes]
7 severity = 3
8
9 # ProhibitStringyEval is broken; it doesn't take into account that
10 # eval q{use Foo};
11 # defers the use until the eval runs.
12 # eval {use Foo}
13 # does not defer the use at all.
14 [-BuiltinFunctions::ProhibitStringyEval]