JSON: Fix validation being disabled following #13459 (#13770)

The problem with #13459 was the bump to a newer JSON LS version, which
requires explicitly opting into validation.

Release Notes:

- Fixed JSON validation being disabled by default (Preview only)
This commit is contained in:
Piotr Osiewicz 2024-07-03 11:17:20 +02:00 committed by GitHub
parent 5c7a8f779a
commit 28c5e33e0c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -95,6 +95,10 @@ impl JsonLspAdapter {
"format": { "format": {
"enable": true, "enable": true,
}, },
"validate":
{
"enable": true,
},
"schemas": [ "schemas": [
{ {
"fileMatch": ["tsconfig.json"], "fileMatch": ["tsconfig.json"],