Skip to content

Commit

Permalink
JSON: Fix validation being disabled following #13459 (#13770)
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
osiewicz authored Jul 3, 2024
1 parent 5c7a8f7 commit 28c5e33
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions crates/languages/src/json.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ impl JsonLspAdapter {
"format": {
"enable": true,
},
"validate":
{
"enable": true,
},
"schemas": [
{
"fileMatch": ["tsconfig.json"],
Expand Down

0 comments on commit 28c5e33

Please sign in to comment.