opensearch-docs-cn/.github/vale/styles/OpenSearch/SpacingPunctuation.yml

10 lines
273 B
YAML

extends: existence
message: "There should be no space before and one space after the punctuation mark in '%s'."
level: error
nonword: true
tokens:
- '[A-Za-z]+[.?] {2,}[A-Za-z]+'
- '[A-Za-z]+[.?][A-Za-z]+'
- '[A-Za-z]+[,;] {2,}[A-Za-z]+'
- '[A-Za-z]+[,;][A-Za-z]+'