Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 872 Bytes

unknown_filter.md

File metadata and controls

45 lines (28 loc) · 872 Bytes

Prevent use of unknown filters (UnknownFilter)

This check exists to prevent user errors.

Check Details

This check is aimed at preventing the use of unknown filters.

👎 Examples of incorrect code for this check:

{{ x | some_unknown_filter }}

👍 Examples of correct code for this check:

{{ x | upcase }}

Check Options

The default configuration for this check is the following:

UnknownFilter:
  enabled: true

When Not To Use It

It is not safe to disable this rule.

Version

This check has been introduced in Theme Check 0.1.0.

Resources