diff options
Diffstat (limited to 'doc/.vale/gitlab/SentenceSpacing.yml')
-rw-r--r-- | doc/.vale/gitlab/SentenceSpacing.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/.vale/gitlab/SentenceSpacing.yml b/doc/.vale/gitlab/SentenceSpacing.yml new file mode 100644 index 00000000000..b061f7f6f9e --- /dev/null +++ b/doc/.vale/gitlab/SentenceSpacing.yml @@ -0,0 +1,15 @@ +--- +# Check for the following in common content scenarios: +# +# - No spaces. +# - More than one space. +# +# For a list of all options, see https://errata-ai.github.io/vale/styles/ +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.?!,\(\)\-":]' |