Commit b6a8c1c
committed
fix(oxlint/lsp): clear disable directive entries for file on error (#18501)
When the file errors on tsgolint, we should remove the disable directives entries too (already doing in at the end of appending the diagnostics).
Or else the next successful lint could have invalid spans too :)1 parent 2065f31 commit b6a8c1c
1 file changed
+12
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
702 | 702 | | |
703 | 703 | | |
704 | 704 | | |
705 | | - | |
706 | | - | |
707 | | - | |
708 | | - | |
709 | | - | |
710 | | - | |
| 705 | + | |
| 706 | + | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
| 710 | + | |
| 711 | + | |
| 712 | + | |
| 713 | + | |
| 714 | + | |
| 715 | + | |
| 716 | + | |
711 | 717 | | |
712 | 718 | | |
713 | 719 | | |
| |||
0 commit comments