Commits
Click on a commit to change the comparison rangerefactor(oxlint/plugins): add `is_jsx` field to RawTransferMetadata
Add `is_jsx` field to `RawTransferMetadata` struct in both `napi/parser`
and `crates/oxc_linter`. This generates the `IS_JSX_FLAG_POS` constant
and allows reading the JSX flag directly from buffer metadata, simplifying
the `isJsx()` function in `source_code.ts`.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> test(oxlint/plugins): add tsx fixture for token parsing
Add jsx_element.tsx fixture that requires TSX ScriptKind to parse
correctly. This verifies that the is_jsx flag in RawTransferMetadata
is being set correctly for JSX files.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>