Replace deprecated json.schemastore.org with www.schemastore.org (#42336)
Terra
created
Release Notes:
- N/A
According to
[microsoft/vscode#254689](https://github.com/microsoft/vscode/issues/254689),
the json.schemastore.org domain has been deprecated and should now use
www.schemastore.org (or schemastore.org) instead.
This PR updates all occurrences of the old domain within the Zed
codebase,
including code, documentation, and configuration files.
@@ -78,7 +78,7 @@ To get completions for `deno.json` or `package.json` you can add the following t
"fileMatch": [
"package.json"
],
- "url": "http://json.schemastore.org/package"
+ "url": "https://www.schemastore.org/package"
}
]
}
@@ -19,7 +19,7 @@ You can configure various [yaml-language-server settings](https://github.com/red
"singleQuote": true
},
"schemas": {
- "http://json.schemastore.org/composer": ["/*"],
+ "https://getcomposer.org/schema.json": ["/*"],
"../relative/path/schema.json": ["/config*.yaml"]
}
}
@@ -70,7 +70,7 @@ By default yaml-language-server will attempt to determine the correct schema for
You can override any auto-detected schema via the `schemas` settings key (demonstrated above) or by providing an [inlined schema](https://github.com/redhat-developer/yaml-language-server#using-inlined-schema) reference via a modeline comment at the top of your yaml file:
```yaml
-# yaml-language-server: $schema=https://json.schemastore.org/github-action.json
+# yaml-language-server: $schema=https://www.schemastore.org/github-action.json
name: Issue Assignment
on:
issues: