Commit a404b2c
authored
test(linter):
Adds a test for a bug that was unintentionally fixed by #11320.
I also confirmed that the test would have failed before my original PR.
Context:
#11320 (comment)eslint/no-duplicate-imports shouldn't report the same span (#11324)1 parent e2f0f0a commit a404b2c
File tree
2 files changed
+18
-0
lines changed- crates/oxc_linter/src
- rules/eslint
- snapshots
2 files changed
+18
-0
lines changedLines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
487 | 487 | | |
488 | 488 | | |
489 | 489 | | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
490 | 497 | | |
491 | 498 | | |
492 | 499 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
158 | 158 | | |
159 | 159 | | |
160 | 160 | | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
0 commit comments