Skip to content

Conversation

@carter383
Copy link

@carter383 carter383 commented Jul 13, 2025

This PR addresses an issue where theme check disable comments with accidental double spaces would not work correctly.

Issue Fixed:
Disable comments like the following were not being respected due to extra spacing:

{% # theme-check-disable LiquidFilter, RenderMarkup %}

Changes Made:

Updated packages/theme-check-common/src/disabled-checks/index.spec.ts to collapse multiple spaces into a single space when parsing disable comments.

QOL Improvement, Fixes Issue with accidental Double spacing in disable comments

{% # theme-check-disable          LiquidFilter, RenderMarkup %}

Now works the same as

{% # theme-check-disable LiquidFilter, RenderMarkup %}
@carter383
Copy link
Author

I have signed the CLA!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant