Commit b44a30e
committed
The struct `MessageWithPosition` is not needed anymore. `oxc_linter` is sending `Message` and the server is storing `DiagnosticReport`. So we can save the transformation `Message -> MessageWithPositoin -> DiagnosticReport` and transform direct: `Message -> DiagnosticReport`.
Removed all relevant code and implemented `message_to_diagnostic_report`.
related https://github.com/oxc-project/backlog/issues/175
1 parent f599bef commit b44a30e
File tree
3 files changed
+179
-339
lines changed- crates/oxc_language_server/src/linter
3 files changed
+179
-339
lines changed
0 commit comments