Commit acfac68
committed
refactor(oxlint): adjust ignore patterns by counting bytes instead of chars (#12209)
`split_at` accepts the offset by bytes.
Could not create a test where the chars vs bytes could matter:
https://github.com/oxc-project/oxc/blob/29516454d52d2197f9332b39162d27c913f31af6/apps/oxlint/src/lint.rs#L1026-L10391 parent 2951645 commit acfac68
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
532 | 532 | | |
533 | 533 | | |
534 | 534 | | |
535 | | - | |
| 535 | + | |
536 | 536 | | |
537 | 537 | | |
538 | 538 | | |
| |||
0 commit comments