Files
oxc-project__oxc/apps/oxlint/src-js/plugins/comments.ts
overlookmotel 3446ee7ebc test(linter/plugins): check comments and tokens within bounds of source text (#24832)
Add more debug assertions to debug build-only code which checks the validity of comments and tokens.

Make sure all comments and tokens have spans which are wihin bounds of source text. In particular, this will surface any problems where the source text contains a BOM, which causes us to adjust spans on Rust side when trimming off the BOM.
2026-07-23 09:29:53 +00:00

19 KiB