Skip to content

False positive missing_placeholder_with_metadata when it's followed by a key with @@x- #70

@AhmedLSayed9

Description

@AhmedLSayed9

When a property with a placeholder is followed by a key prefixed with @@x-, a warning The placeholder is defined in the metadata, but not in the message.(missing_placeholder_with_metadata) is popped.

i.e:

{
  "some": "some {title}",
  "@some": {
    "placeholders": {
      "title": {
        "type": "String"
      }
    }
  },
  "@@x-comment": ""
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions