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