SpaceInsideBraces
Identifies inconsistent spacing inside Liquid tags and variables. Consistent spacing makes your code easier to search, read, and maintain.
The following examples contain code snippets that either fail or pass this check.
Auto-correction
Anchor link to section titled "Auto-correction"Theme Check can correct this error using the --auto-correct
flag. When the flag is specified, Theme Check trims or add spaces around {{ ... }}
.
Before correction
Anchor link to section titled "Before correction"
After correction
Anchor link to section titled "After correction"
Disabling this check
Anchor link to section titled "Disabling this check"This check is safe to disable.