Shopify / theme-tools

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

Theme Check for preset blocks as hash block_order #590

Open miazbikowski opened 1 week ago

miazbikowski commented 1 week ago

A couple of warnings would be useful for usage of block_order for preset blocks (when they're a hash).

  1. For all non-static blocks, including nested ones, we should warn if they are not in the block_order for their level of nesting.
  2. For all static blocks, we should warn if they are included in the block_order for their level of nesting.