Outdated schema.json on deno.land
RuyiLi opened this issue · 0 comments
RuyiLi commented
Describe the bug
The contents of https://deno.land/x/denon/schema.json (which is what appears on the README) differs from https://github.com/denosaurs/denon/blob/main/schema.json. Specifically, #151, which renames the importmap
script option, invalidates the current schema, causing editors such as VSCode to incorrectly autocomplete "importmap"
.
To Reproduce
- Create a
scripts.json
file. - Add the following property:
"$schema": "https://deno.land/x/denon/schema.json"
- In an editor that supports Intellisense for JSON schemas, create a script and type "import", and look at the recommendations (should say "importmap" instead of "importMap" or "import-map")
Expected behavior
Recommendations should be "importMap" or "import-map".
Configuration or Project
{
// optional but highly recommended
"$schema": "https://deno.land/x/denon/schema.json",
"scripts": {
"start": {
"import
}
}
}
Setup
- OS: WSL (Ubuntu)
- Deno version: 1.17.3
- Denon version: 2.4.9