Skip to content

Commit

Permalink
Add tsconfig.json schema validation for more patterns
Browse files Browse the repository at this point in the history
This matches the file patterns used by VSCode.
  • Loading branch information
remcohaszing committed Mar 3, 2024
1 parent f07459b commit b112701
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/polite-masks-laugh.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"vscode-mdx": patch
---

Add `tsconfig.json` JSON validation for more file patterns.
8 changes: 7 additions & 1 deletion packages/vscode-mdx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,13 @@
],
"jsonValidation": [
{
"fileMatch": "tsconfig.json",
"fileMatch": [
"tsconfig.json",
"tsconfig.*.json",
"tsconfig-*.json",
"jsconfig.json",
"jsconfig.*.json"
],
"url": "./tsconfig.schema.json"
}
],
Expand Down

0 comments on commit b112701

Please sign in to comment.