Issue: VSCode issues shows `path` not allowed in frontMatter.data.files
See original GitHub issueLatest version.
Describe the bug Working on my configuration file in VSCode I see a yellow underline in the path-property of the following code sample:
{
"$schema": "https://frontmatter.codes/frontmatter.schema.json",
"frontMatter.data.files": [
{
"id": "all-sponsors",
"path": "[[workspace]]/kollitsch/music.toml",
"type": "sponsors"
}
],
"frontMatter.data.folders": [],
"frontMatter.data.types": [
{
"id": "sponsors",
"title": "Sponsors",
"fileType": "json",
"labelField": "name",
"schema": {
"title": "Sponsors",
"type": "object",
"required": [
"name",
"url"
],
"properties": {
"name": {
"type": "string",
"title": "Name"
},
"url": {
"type": "string",
"title": "URL"
},
"description": {
"type": "string",
"title": "Description"
}
}
}
}
]
}
The overlay says: “Property path is not allowed.”. The documentation of that feature includes a path
property: https://frontmatter.codes/docs/dashboard#re-using-a-data-type-for-files-or-folders
Either the docs or the schema used to parse the config has an issue here.
Issue Analytics
- State:
- Created a year ago
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Issue: labelField parameter is not documented or in the ...
Describe the bug Add 'labelField' to the frontmatter.json file for a Field Group, the warning "Property labelField is not allowed" is shown ......
Read more >Troubleshoot Terminal launch failures - Visual Studio Code
If your terminal is set to run as administrator only, and you are not launching VS Code as administrator, the terminal will not...
Read more >Settings
vscode /settings.json configuration, we went for a frontmatter.json file on the root of your project/solution. The settings you provide in this ...
Read more >Front Matter - Hugo
Hugo allows you to add front matter in yaml, toml, or json to your content files.
Read more >GitLab Flavored Markdown (GLFM)
In GitLab, front matter is used only in Markdown files and wiki pages, not the other places ... The following topics show how...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
The 7.3.1 release is published which should fix the (unseen) issue.
Thanks, @davidsneighbour for mentioning the documentation issues. It is very much appreciated!
Linking this to #356