theme-check icon indicating copy to clipboard operation
theme-check copied to clipboard

The Ultimate Shopify Theme Linter

Results 108 theme-check issues
Sort by recently updated
recently updated
newest added

Ignoring files is not really possible, errors still popup in the problems tab in VS. My `.theme-check.yml` ``` root: theme ignore: - src ``` I also tested `"themeCheck.checkOnOpen": false` on...

bug

Automates most of the stuff to create a release. - Creates branch name - Runs git changelog with correct arguments - Runs rake prerelease[$version] - Commits everything - Opens a...

### What does this do? Recommends using `{% liquid ... %}` if 4 or more consecutive liquid tags (`{% ... %}`) are found. ### What should reviewers focus on? Focus...

Fixes #181 TODO: - [ ] Add type_prediction_aliases.yml (img -> image, p -> product, etc.) // should find a list of most common ones 😏 - [ ] Annotate checkout...

We've noticed that sometimes app embeds fail to inject into a theme because the theme is missing proper `` and/or `` tags. Can we add a check for layout files...

enhancement
linter
e:3

``` Successfully installed ast-2.4.2 Successfully installed parser-3.1.2.0 Successfully installed liquid-5.3.0 Successfully installed theme-check-1.[10](https://github.com//runs/6651782031?check_suite_focus=true#step:4:11).2 4 gems installed $ theme-check --version 1.10.2 $ theme-check --fail-level style -o json . Checking . ......

bug

When running the auto correct flag on theme check it's stripping content from the final when. Two examples below: Before ``` {% case image_container_width %} {% when 'small' %} {%-...

enhancement

When in a non-section file, such as `templates/cart.liquid`, `section` and `block` are fully accepted as defined.

bug
p:low

I just noticed that ImgWidthAndHeight doesn't report error when `src' attribute is missing. I'm not sure if that's intentional or not. I'm not sure that the correct fix is to...

bug
enhancement
p:low

Probably because we don't go into the branches and use the tag's parent if as the location for the error. Can be terribly confusing. ![image](https://user-images.githubusercontent.com/4990691/165583057-fc45bfca-9162-487e-af59-b9d00c440406.png) In the above, the `inital`...

bug
e:5