Back to Intellij Community

YAMLRecursiveAlias

plugins/yaml/backend/resources/inspectionDescriptions/YAMLRecursiveAlias.html

2025.3-rc-2220 B
Original Source

Reports recursion in YAML aliases.

Alias can't be recursive and be used inside the data referenced by a corresponding anchor.

Example:

some_key: &some_anchor
    sub_key1: value1
    sub_key2: *some_anchor