Closed SyntaxColoring closed 7 months ago
Relative paths are not currently supported. The value needs to be an URI so in a format like file:///Users/...
which means it can't be relative.
If it's an option to modify the JSON file then those can include a $schema
property that points to a schema.
EDIT: Well, but in that case it would still have to be an URI...
Relative paths for the $schema
property within the JSON file work fine on my side...
I want a file to be checked with a schema that's stored locally in the project.
I tried this:
But this gives me an error
unable to load schema from '/./project_relative/path/to/schema.json
'`.I also tried this:
But it doesn't look like
$project_path
gets expanded. This gives me an errorunable to load schema from '/$project_path/project_relative/path/to/schema.json
'`.Is this possible?