Proof of Concept: Better rules table#782
Merged
connorshea merged 18 commits intomainfrom Jan 14, 2026
Merged
Conversation
✅ Deploy Preview for oxc-project ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
No reason to keep this page, as it is not used for the rules page anymore after moving to the rules.json.
d4472fd to
bcaced6
Compare
Signed-off-by: Cameron <cameron.clark@hey.com>
graphite-app bot
pushed a commit
to oxc-project/oxc
that referenced
this pull request
Jan 14, 2026
…17973) This builds on #15763 to change the rules generation for the website repo to emit a JSON file. This will support oxc-project/website#782 I have removed the ability to have a link prefix for the generated markdown table, as it was only used for the generated-rules.md file.
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With more than 650 rules, the static rules table is rather unwieldy. I threw together this proof-of-concept for what we should consider implementing for a new one.
Requires the implementation of oxc-project/oxc#15763 (which is where I get rules.json from here).
It is not, currently, pretty. Maybe a candidate for integration with the rebrand PR? #736
AI Disclosure: The initial version of the page was built using help from GitHub Copilot, it is not intended as a final implementation and is basically just for ideating and iteration upon.
TODO:
jsx_a11yshould be jsx-a11y)typescript/no-explicit-anyinstead ofno-explicit-anywith a separate plugin name?Closes #318.