Skip to content

Why YAML LS converts DiagnosticSeverity Warning to Error? #1091

@venmanyarun

Description

@venmanyarun

Summary

Relevant information

We are customizing YAML Language server by importing yaml-language-server and noticed that there is code to explicitly convert warning diagnostic severity to error in ValidationHandlers.ts

Image

Is this done due to some client side capability issues or is it just because yaml-language-server has only error diagnostics?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions