Files
Arsh f3e9913f53 refactor(linter/plugins): reimplement isSpaceBetween() isSpaceBetweenTokens() using tokens (#16055)
- Follow up to https://github.com/oxc-project/oxc/pull/15498 and
https://github.com/oxc-project/oxc/pull/15861
- Note: JSX special case (as part of the `isSpaceBetweenTokens()`
method) is being removed in ESLint v10 (see
[eslint/eslint#20137](https://github.com/eslint/eslint/pull/20137/files#diff-e85eaebdcf6af45c06572019cbd900cff91518c789049c3bd0e8724c18645ab0))

### Tasks:
- [x] Token-based reimplementation of `isSpaceBetween()`
- [x] Token-based reimplementation of `isSpaceBetweenTokens()`
- [x] Pass existing tests from #15498
- [x] New tests for JS syntax
- [x] New tests for JSX syntax

---------

Co-authored-by: overlookmotel <theoverlookmotel@gmail.com>
2025-11-27 13:20:04 +00:00
..
…
…