Shopify / theme-tools

Everything developer experience for Shopify themes
https://shopify.dev/docs/themes
MIT License
63 stars 19 forks source link

Request: Specify glob for files to run theme check against #385

Open lvl99 opened 1 year ago

lvl99 commented 1 year ago

Is it possible to add a setting to run theme check on specific files only? Including ways to include files or exclude files would be great.

I have some other liquid (non-Shopify) projects and Theme Check keeps running on all of them.

jamesmengo commented 1 month ago

Hey @lvl99! Thanks for the suggestion. I'll bring this to the team to discuss if we have bandwidth to implement this

A couple of ideas in the meantime: 1) You can disable theme check for those workspaces specifically 2) You can disable check on change, check on open, and check on save so theme check only runs when you execute it via the VS code command palette

If you have existing workarounds, please feel free to share as well!