-
Notifications
You must be signed in to change notification settings - Fork 3.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix theme check warnings #1364
Labels
Severity: 2
High Severity
Comments
andrewetchen
changed the title
Update deprecated
Fix theme check warnings
Feb 16, 2022
img_url
filter to image_url
This was referenced Feb 17, 2022
Update: March 16 2022 https://shopify.dev/themes/tools/theme-check/checks/template-length TemplateLength:
enabled: true
max_length: 600
exclude_schema: true
exclude_stylesheet: true
exclude_javascript: true Code in Currently, only 1 theme check warning exists and its for the sections/header.liquid: suggestion: TemplateLength: Template has too many lines [621/600]. TemplateLength of all
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the current behavior
This is a follow up to @charlespwd 's PR: #955
There are currently 291 offences.
Deprecated filter `img_url`, consider using `image_url`.
SpaceInsideBraces
SchemaJsonFormat
DeprecatedFilter: Deprecated filter `img_url`, consider using an alternative: `image_url`.
ImgLazyLoading
LiquidTag: Use {% liquid ... %} to write multiple tags.
Describe the expected behavior
As expected,
theme-check
is doing its job but the goal here is to fix these warnings.Version information (Dawn, browsers and operating systems)
Possible solution
Use
shopify theme check
to auto-correct 271/291 offences and manually fix the rest.Will create two separate PRs: one for automatic fixes and one for manual fixes.
Additional context/screenshots
Screenshots
DeprecatedFilter
SchemaJsonFormat
SpaceInsideBraces
LiquidTag
Links
Update: March 15 2022
This will need to be handled in another PR
The text was updated successfully, but these errors were encountered: