Skip to content

Commit

Permalink
feat: uncommenting severity 4 rules in .perlcriticrc
Browse files Browse the repository at this point in the history
  • Loading branch information
dipietroR committed Jul 21, 2022
1 parent 2c8ebc2 commit c11bb92
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .perlcriticrc
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,16 @@ equivalent_modules = ProductOpener::PerlStandards


# severity 4 was not actually being run because severity was set to 5.
# severity 4:
#[TestingAndDebugging::RequireUseWarnings]
#equivalent_modules = Modern::Perl
# severity 4
[TestingAndDebugging::RequireUseWarnings]
equivalent_modules = Modern::Perl
equivalent_modules = ProductOpener::PerlStandards
[Subroutines::RequireFinalReturn]


# Allow `$`', `$&', `$'', because since Perl 5.20.0
# there are no performance implications any more.
#[-Variables::ProhibitMatchVars]
[-Variables::ProhibitMatchVars]
# /end severity 4


Expand Down

0 comments on commit c11bb92

Please sign in to comment.