Skip to content

Default diagnostic severity on schema validation #251

Open
@kelvien

Description

I notice that monaco-yaml shows errors as hints (shown orange/yellow) on the playground.
When I check the severity level using monaco.editor.getModelMarkers({}), it's showing that the severity is 4
image
And looking at the enums of DiagnosticSeverity, 4 is hint
image
Is it possible to change it to error so that it's underlined with red to make the error more apparent?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions