2020-05-26 20:08:11 -04:00
|
|
|
---
|
2020-06-09 11:08:05 -04:00
|
|
|
# Warning: gitlab.SentenceLength
|
|
|
|
#
|
2020-05-26 20:08:11 -04:00
|
|
|
# Counts words in a sentence and alerts if a sentence exceeds 25 words.
|
|
|
|
#
|
|
|
|
# For a list of all options, see https://errata-ai.github.io/vale/styles/
|
|
|
|
extends: occurrence
|
2020-06-09 11:08:05 -04:00
|
|
|
message: 'Shorter sentences improve readability (max 25 words).'
|
2020-05-26 20:08:11 -04:00
|
|
|
scope: sentence
|
|
|
|
link: https://docs.gitlab.com/ee/development/documentation/styleguide.html#language
|
|
|
|
level: warning
|
|
|
|
max: 25
|
|
|
|
token: \b(\w+)\b
|