14 lines
450 B
YAML
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.?!,\(\)\-":]'
|