@shopify/theme-check-node@3.10.0
·
46 commits
to main
since this release
Minor Changes
-
10493c9: New
UnusedDocParam
theme-check rule- Theme check will verify that parameters defined within a snippet's
doc
header are used within the body
- Theme check will verify that parameters defined within a snippet's
-
f130a78: Introduce a new theme check which validates the types of parameters passed to snippets against the liquidDoc header.
- Reports type mismatches
- Suggests autofixes (replace with default or remove value)
- Skips type checking for variable lookups
- Skips type checking for unknown parameters
- Skips type checking for unknown types
-
1a4482e: New theme checks to validate liquid doc params
UniqueDocParamNames
will check if param names are unique within thedoc
tagValidDocParamTypes
will check if the param types defined in thedoc
tag are supported
-
754f7f6: New theme check to ensure
doc
tag is only used in snippet files
Patch Changes
- Updated dependencies [10493c9]
- Updated dependencies [f130a78]
- Updated dependencies [1a4482e]
- Updated dependencies [5ad43a8]
- Updated dependencies [79c9f77]
- Updated dependencies [754f7f6]
- Updated dependencies [dc8c9fd]
- Updated dependencies [beccb69]
- @shopify/theme-check-common@3.10.0
- @shopify/theme-check-docs-updater@3.10.0