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

18 lines
489 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
#
2020-07-28 23:09:34 +05:30
# Checks for the following in common content scenarios:
2020-04-08 14:13:33 +05:30
#
# - No spaces.
# - More than one space.
#
2020-07-28 23:09:34 +05:30
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
2020-04-08 14:13:33 +05:30
extends: existence
message: '"%s" must contain one and only one space.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#punctuation
level: error
nonword: true
tokens:
- '[a-z][.?!,][A-Z]'
- '[\w.?!,\(\)\-":] {2,}[\w.?!,\(\)\-":]'