1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/tests/specs/add/comments_deno_json/deno.jsonc.out
David Sherret 39fb55096e
fix(install): better json editing (#26450)
1. Respects the formatting of the file (ex. keeps four space indents or
tabs).
2. Handles editing of comments.
3. Handles trailing commas.
4. Code is easier to maintain.
2024-10-21 14:17:08 -04:00

9 lines
260 B
Text

// Testing four space indents too
// deno-fmt-ignore
{
"imports": {
"@denotest/add": "jsr:@denotest/add@^1.0.0",
"@denotest/add2": "npm:@denotest/add", // some comment
"@denotest/esm-basic": "npm:@denotest/esm-basic@^1.0.0"
}
}