Skip to content

Commit

Permalink
Bump TemplateLength max_length to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
macournoyer committed Jun 28, 2021
1 parent cfb862a commit b390329
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion config/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ SyntaxError:
TemplateLength:
enabled: true
ignore: []
max_length: 200
max_length: 500
# Exclude content of {% schema %} in line count
exclude_schema: true

Expand Down
2 changes: 1 addition & 1 deletion docs/checks/template_length.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ The default configuration for this check is the following:
```yaml
TemplateLength:
enabled: true
max_length: 200
max_length: 500
exclude_schema: true
```
Expand Down
2 changes: 1 addition & 1 deletion lib/theme_check/checks/template_length.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class TemplateLength < LiquidCheck
category :liquid
doc docs_url(__FILE__)

def initialize(max_length: 200, exclude_schema: true)
def initialize(max_length: 500, exclude_schema: true)
@max_length = max_length
@exclude_schema = exclude_schema
end
Expand Down

0 comments on commit b390329

Please sign in to comment.