Skip to content

Commit 5d87fe3

Browse files
committed
fix(lint): Map diagnostics code actions to their sections
1 parent 404c114 commit 5d87fe3

2 files changed

Lines changed: 310 additions & 29 deletions

File tree

apps/oxlint/src/lsp/snapshots/fixtures_lsp_frameworks@astro__debugger.astro_vue__debugger.vue_svelte__debugger.svelte_nextjs__[[..rest]]__debugger.ts.snap

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -94,11 +94,11 @@ Is Preferred: Some(false)
9494
TextEdit: TextEdit {
9595
range: Range {
9696
start: Position {
97-
line: 0,
97+
line: 1,
9898
character: 0,
9999
},
100100
end: Position {
101-
line: 0,
101+
line: 1,
102102
character: 0,
103103
},
104104
},
@@ -148,11 +148,11 @@ Is Preferred: Some(false)
148148
TextEdit: TextEdit {
149149
range: Range {
150150
start: Position {
151-
line: 0,
151+
line: 10,
152152
character: 0,
153153
},
154154
end: Position {
155-
line: 0,
155+
line: 10,
156156
character: 0,
157157
},
158158
},
@@ -202,11 +202,11 @@ Is Preferred: Some(false)
202202
TextEdit: TextEdit {
203203
range: Range {
204204
start: Position {
205-
line: 0,
205+
line: 14,
206206
character: 0,
207207
},
208208
end: Position {
209-
line: 0,
209+
line: 14,
210210
character: 0,
211211
},
212212
},
@@ -256,11 +256,11 @@ Is Preferred: Some(false)
256256
TextEdit: TextEdit {
257257
range: Range {
258258
start: Position {
259-
line: 0,
259+
line: 18,
260260
character: 0,
261261
},
262262
end: Position {
263-
line: 0,
263+
line: 18,
264264
character: 0,
265265
},
266266
},

0 commit comments

Comments
 (0)