Welcome to mirror list, hosted at ThFree Co, Russian Federation.

SentenceSpacing.yml « gitlab « .vale « doc - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 884d4b57508a95d6b1db3943e39f9c8254f9ace6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
# Error: gitlab.SentenceSpacing
#
# Checks for the following in common content scenarios:
#
# - No spaces.
# - More than one space.
#
# For a list of all options, see https://errata-ai.gitbook.io/vale/getting-started/styles
extends: existence
message: '"%s" must contain one and only one space.'
link: https://docs.gitlab.com/ee/development/documentation/styleguide/index.html#punctuation
level: error
nonword: true
tokens:
  - '[a-z][.?!,][A-Z]'
  - '[\w.?!,\(\)\-":] {2,}[\w.?!,\(\)\-":]'