Skip to content

feat: add react/forbid-elements lint rule - #156

Merged
RhysSullivan merged 3 commits into
mainfrom
feat/forbid-raw-elements
Apr 10, 2026
Merged

feat: add react/forbid-elements lint rule#156
RhysSullivan merged 3 commits into
mainfrom
feat/forbid-raw-elements

Conversation

@RhysSullivan

Copy link
Copy Markdown
Collaborator

Summary

  • Adds react/forbid-elements oxlint rule banning raw <button>, <input>, <textarea>, <select>, and <table> — enforces use of @executor/react UI components
  • Migrates all 19 affected files to use Button, Input, Textarea with appropriate variants/sizes
  • Adds oxlint-disable-next-line in the 5 primitive component files that legitimately wrap raw elements
  • Fixes pre-existing exhaustive-deps warnings in plugin forms

Test plan

  • bun run lint passes with 0 warnings, 0 errors
  • Spot-check cloud billing pages render correctly
  • Spot-check local shell mobile nav still works
  • Verify source-detail action buttons (edit, refresh, delete) render

…ements

Adds oxlint react/forbid-elements rule banning raw <button>, <input>,
<textarea>, <select>, and <table> in favor of the @executor/react UI
components. Migrates all 19 affected files to use Button, Input, and
Textarea components with appropriate variants and sizes.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Apr 10, 2026

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Preview URL Updated (UTC)
✅ Deployment successful!
View logs
executor-marketing ec491d6 Commit Preview URL

Branch Preview URL
Apr 10 2026, 09:37 AM

@RhysSullivan
RhysSullivan merged commit 12a5863 into main Apr 10, 2026
4 of 6 checks passed
RhysSullivan added a commit that referenced this pull request May 31, 2026
* feat: add react/forbid-elements lint rule and migrate all raw HTML elements

Adds oxlint react/forbid-elements rule banning raw <button>, <input>,
<textarea>, <select>, and <table> in favor of the @executor/react UI
components. Migrates all 19 affected files to use Button, Input, and
Textarea components with appropriate variants and sizes.

* style: format

* feat: ban raw <label> elements, migrate to Label component
@RhysSullivan
RhysSullivan deleted the feat/forbid-raw-elements branch June 11, 2026 08:01
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.

1 participant