-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #617 from Shopify/navdeep-theme-block-check-refactor
Refactor `ValidBlockTarget` and `ValidLocalBlocks` & Introduce Cross-File Nested Block Targeting Check
- Loading branch information
Showing
12 changed files
with
1,159 additions
and
308 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@shopify/theme-check-common': minor | ||
'@shopify/theme-check-node': minor | ||
--- | ||
|
||
Refactor ValidBlockTarget and ValidLocalBlocks. |
265 changes: 203 additions & 62 deletions
265
packages/theme-check-common/src/checks/valid-block-target/block-utils.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.