denoland / denoland/import_map

Improve Diagnostics

Open
#42 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
34
Forks
14
PR merge metrics
No merged PRs in 30d

Description

Diagnostics for an import map should include locations/spans of errors in the source file, to make printing and using the diagnostics in language servers more useful.

@dsherret just added a strict parse mode to https://crates.io/crates/jsonc-parser, which can be used to parse and walk the JSON structure to improve the diagnostics. We should use that for parsing the import map and generating diagnostics.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.