Skip to content

Commit

Permalink
Enable strict checking of filter existance
Browse files Browse the repository at this point in the history
* Strict checking of variable existence is not enabled due to a long-standing bug: Shopify/liquid#1034
  • Loading branch information
mukrop committed Jan 21, 2022
1 parent cba8dd2 commit 141adf9
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions _config.global.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,14 @@ exclude:
- _explainers/*.jpg # Explainer cover image
- .cache/ # Intermediate files

# Set the strictness of the parser
liquid:
error_mode: strict # Stop build on error
strict_filters: true # Catch non-existing filters
# Disabled due to long-standing bug: https://github.com/Shopify/liquid/issues/1034
# strict_variables: true # Catch non-assigned variables

# Style file settings
sass:
sass_dir: assets/_scss
style: compressed
Expand All @@ -59,9 +67,11 @@ plugins:
# Set custom markdown processor for glossary tag expansion
markdown: FaktaOKlimatuProcessor

# Set custom class for external links
target-blank:
add_css_classes: ext-link

# Set files for post-render HTML beautification
html-beautify:
include:
- "*.html"
Expand Down

0 comments on commit 141adf9

Please sign in to comment.