Skip to content

Commit

Permalink
feat: Deep nest limit 12
Browse files Browse the repository at this point in the history
Adding "[ControlStructures::ProhibitDeepNests]" to .perlcriticrc and
limiting nesting to 12
  • Loading branch information
dipietroR committed Jul 25, 2022
1 parent 8a3ee59 commit 90f3185
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .perlcriticrc
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,7 @@ equivalent_modules = ProductOpener::PerlStandards


# severity 3
[ControlStructures::ProhibitDeepNests]
max_nests = 12
[Variables::ProhibitUnusedVariables]
# /end severity 3

0 comments on commit 90f3185

Please sign in to comment.