diff --git a/.vale.ini b/.vale.ini index 922a5e0..7c4c6e6 100644 --- a/.vale.ini +++ b/.vale.ini @@ -31,4 +31,5 @@ Datadog.spaces = YES Datadog.tense = YES Datadog.words = YES Datadog.quotes = YES -Datadog.aws = YES \ No newline at end of file +Datadog.aws = YES +Datadog.listpunctuation = YES \ No newline at end of file diff --git a/styles/Datadog/listpunctuation.yml b/styles/Datadog/listpunctuation.yml new file mode 100644 index 0000000..bcdd573 --- /dev/null +++ b/styles/Datadog/listpunctuation.yml @@ -0,0 +1,11 @@ +extends: existence +message: "List items should have consistent punctuation." +link: "https://github.com/DataDog/documentation/blob/master/CONTRIBUTING.md#lists" +level: warning +scope: raw +ignorecase: true +tokens: + # Match bulleted list items starting with - + - '^\s*-\s+.*$' + # Match numbered list items + - '^\s*\d+\.\s+.*$' \ No newline at end of file