Skip to content

Improve validator coverage and add feature flag editor example#11

Merged
SunnyDevendranadh merged 1 commit into
mainfrom
codex/bloom-polish-validator-examples
May 19, 2026
Merged

Improve validator coverage and add feature flag editor example#11
SunnyDevendranadh merged 1 commit into
mainfrom
codex/bloom-polish-validator-examples

Conversation

@SunnyDevendranadh
Copy link
Copy Markdown
Owner

@SunnyDevendranadh SunnyDevendranadh commented May 19, 2026

Summary

Polishes Bloom’s public-readiness layer after PR #9 by expanding validator coverage, keeping docs aligned with the active rule registry, and adding a richer custom-editor example artifact.

Changes

  • Adds 3 active validator rules:
    • responsive-images
    • no-empty-elements
    • no-inline-styles-except-root
  • Adds a targeted fixture and test coverage for the new rules.
  • Updates README and validator docs from 10 to 13 active rules.
  • Fixes the stale bloom-validator/package.json description.
  • Adds examples/feature-flag-editor-example.html as a custom-editor example with toggles, pending diff, and copy JSON/markdown actions.
  • Removes inline style= usage from existing templates/examples so stricter validation remains clean.

Verification

  • cd bloom-validator && npm test
    • 13/13 tests pass
  • cd bloom-validator && npm run validate-all
    • 19/19 artifacts pass
  • Placeholder scan over templates/ and examples/
    • clean
  • Inline style scan over templates/ and examples/
    • clean

@SunnyDevendranadh SunnyDevendranadh merged commit 107a660 into main May 19, 2026
1 check passed
@SunnyKarri SunnyKarri deleted the codex/bloom-polish-validator-examples branch May 19, 2026 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants