google / google/arb-editor

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

Open
#70 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
64
Forks
11
Avg merge
2d 3h
Merged PRs (30d)
18

Description

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:
```json
{
"some": "some {title}",
"@some": {
"placeholders": {
"title": {
"type": "String"
}
}
},
"@@x-comment": ""
}
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.