Skip to content

YAML validation: warn about about keys with empty objects #4751

@cscheid

Description

@cscheid

This yaml should give us a warning:

format:
  html:
    layout:
    some-other-entry

YAML allows an empty object to be the value of layout, but that's clearly wrong. We should emit a warning when we have a linter.

And maybe we should change our schemas to disallow empty values.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestlintlinting-related issuesyaml-validationIssues with YAML validation and autocompletion in quarto

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions