Skip to content

Commit

Permalink
feat: uncommenting severity 4 rules in .perlcriticrc (#7109)
Browse files Browse the repository at this point in the history
feat: uncommenting severity 4 rules in .perlcriticrc
  • Loading branch information
dipietroR authored Jul 22, 2022
1 parent 0e98b74 commit 7599272
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,16 +38,19 @@ 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]


[BuiltinFunctions::RequireBlockMap]
[BuiltinFunctions::RequireBlockGrep]

# 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 7599272

Please sign in to comment.