Repository navigation
v0.25.0
What's Changed
Added
fields-validatewarns when a block leavespostTypesopen without a reason
(#104). An empty or missingwp.block.acf.postTypesputs the block in the
inserter of every post type. That is right for a footer in a reusable
wp_block, and usually a forgotten default elsewhere. The new
PostTypesLinterstays silent for a restricted block and for an open block
with a rootdevitem that starts withpost-types: open, <reason>. It
warns on any other open block, and on the marker with no reason.devmay be
one string or a list. The marker and its reason must sit in the same item.
It is a warning, sofields-generateis not blocked. A Drupal project and a
non-block definition are skipped.
Pull Requests
- #103 — ci: pin all actions to commit SHAs
- #105 — feat(validate): warn when a block leaves postTypes open without a reason
Full Changelog: v0.24.0...v0.25.0