style: Avoid deep nesting for parsing the liquid tag in the block body

This commit is contained in:
Dylan Thacker-Smith
2020-01-09 19:13:13 -05:00
parent f7ad602bfc
commit ef79fa3898
2 changed files with 10 additions and 10 deletions
+1 -5
View File
@@ -21,10 +21,6 @@ Lint/InheritException:
Layout/LineLength:
Max: 294
# Offense count: 1
Metrics/BlockNesting:
Max: 4
# Offense count: 44
Naming/ConstantName:
Exclude:
@@ -49,4 +45,4 @@ Style/ClassVars:
Exclude:
- 'lib/liquid/condition.rb'
- 'lib/liquid/strainer.rb'
- 'lib/liquid/template.rb'
- 'lib/liquid/template.rb'