SpaceInsideBraces

Version 0.1.0+

Identifies inconsistent spacing inside Liquid tags and variables. Consistent spacing makes your code easier to search, read, and maintain.

This check can be auto-corrected using the --auto-correct flag.

Examples

The following examples contain code snippets that either fail or pass this check.

✗ Fail

✓ Pass

Auto-correction

This check can automatically trim or add spaces around {{ ... }}.

Before correction

After correction

Disabling this check

This check is safe to disable.