debian-mirror-gitlab/doc/.vale/gitlab/SentenceSpacing.yml

15 lines
450 B
YAML
Raw Normal View History

2020-04-08 14:13:33 +05:30
---
2020-06-23 00:09:42 +05:30
# Error: gitlab.SentenceSpacing
#
2021-03-08 18:12:59 +05:30
# Checks for incorrect spacing (no spaces, or more than one space) around punctuation.
2020-04-08 14:13:33 +05:30
#
2023-01-13 00:05:48 +05:30
# For a list of all options, see https://vale.sh/docs/topics/styles/
2020-04-08 14:13:33 +05:30
extends: existence
2023-01-13 00:05:48 +05:30
message: "Remove the extra space: '%s'"
2021-02-22 17:27:13 +05:30
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#punctuation
2020-04-08 14:13:33 +05:30
level: error
nonword: true
tokens:
- '[a-z][.?!,][A-Z]'
- '[\w.?!,\(\)\-":] {2,}[\w.?!,\(\)\-":]'