opensearch-docs-cn/.github/vale/styles/OpenSearch/LinksDoubleParentheses.yml
kolchfa-aws 8c228f9f4c
Rewrite double parentheses rule for Vale (#6260)
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
2024-01-25 15:29:13 -05:00

10 lines
175 B
YAML

extends: existence
message: "Remove double parentheses from the link '%s'."
level: error
nonword: true
scope: raw
tokens:
- '\]\({2,}[^)]*?\){1,}'
- '\]\([^]]*?\){2,}'