debian-mirror-gitlab/doc/.vale/gitlab/SentenceSpacing.yml
2023-01-13 15:02:22 +05:30

14 lines
450 B
YAML

---
# Error: gitlab.SentenceSpacing
#
# Checks for incorrect spacing (no spaces, or more than one space) around punctuation.
#
# For a list of all options, see https://vale.sh/docs/topics/styles/
extends: existence
message: "Remove the extra space: '%s'"
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#punctuation
level: error
nonword: true
tokens:
- '[a-z][.?!,][A-Z]'
- '[\w.?!,\(\)\-":] {2,}[\w.?!,\(\)\-":]'