summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Joe Bell <7349341+joe-bell@users.noreply.github.com> 2024-03-13 15:52:15 +0200
committerGravatar GitHub <noreply@github.com> 2024-03-13 14:52:15 +0100
commit001f7374d83cf2930f1e4bfbc5d3bb0a75b176ba (patch)
tree0e61d9bde55d9f7ab0e1279f4bf05da424a53e77
parent4e1a9c5299c7719ccfd102d2124af16bc9c9b9d4 (diff)
downloadastro-001f7374d83cf2930f1e4bfbc5d3bb0a75b176ba.tar.gz
astro-001f7374d83cf2930f1e4bfbc5d3bb0a75b176ba.tar.zst
astro-001f7374d83cf2930f1e4bfbc5d3bb0a75b176ba.zip
Update VSCode Guidance for JSON Schemas (#10414)
VSCode will search from the root, unlike the inline `$schema` definition
-rw-r--r--packages/astro/src/@types/astro.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/@types/astro.ts b/packages/astro/src/@types/astro.ts
index c3d8de3e4..134e464d1 100644
--- a/packages/astro/src/@types/astro.ts
+++ b/packages/astro/src/@types/astro.ts
@@ -1707,7 +1707,7 @@ export interface AstroUserConfig {
* "fileMatch": [
* "/src/content/test/**"
* ],
- * "url": "../../../.astro/collections/test.schema.json"
+ * "url": "./.astro/collections/test.schema.json"
* }
* ]
* ```