sublimelsp / LSP-json

Schema validation/completions for your JSON and Sublime files

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Warnings when inside a PC messages.json

predragnikolic opened this issue · comments

When opening a messages.json file,
LSP-json shows these warnings:

messages.json

{
    "1.9.0": "messages/1.9.0.txt",
    "install": "README.md"
}

/Users/codetribe/Library/Application Support/Sublime Text/Packages/LSP-volar/messages.json:
    3:16  warning Incorrect type. Expected "object". ​unknown-source
    2:5   warning Property 1.9.0 is not allowed. ​unknown-source

Expected behavior:
No errors should be reported.

The cause is this line:

"fileMatch": [
"/messages.json"
],
"uri": "https://json.schemastore.org/browser.i18n.json"