perf(linter/plugins): use Oxc tokens in plugins#19498
Merged
graphite-app[bot] merged 1 commit intomainfrom Feb 24, 2026
Merged
Conversation
Contributor
Author
Merging this PR will not alter performance
Comparing Footnotes
|
4d88151 to
eaa2671
Compare
9227d04 to
3786fce
Compare
eaa2671 to
d67073b
Compare
27fa34e to
bccce5b
Compare
5cb52ed to
56e8c4f
Compare
66a4929 to
2abe9e4
Compare
a7e3db8 to
5d93223
Compare
2abe9e4 to
139b42e
Compare
5d93223 to
53e2396
Compare
80efac4 to
f218e2a
Compare
53e2396 to
a13b812
Compare
a13b812 to
28676ac
Compare
This was referenced Feb 24, 2026
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.

Builds on #19497. Use the tokens generated by Oxc's parser in linter plugins, instead of running TS parser to tokenize source.
This is a sizeable perf gain, and also allows us to remove TS parser from
oxlint's bundle (#19531).Additionally, our parser is more accurate than TypeScript - we handle HTML comments and space before slash in closing JSX elements (
< /div>) - so this fixes a few conformance tests.