Skip to content

Commit b20a8e8

Browse files
committed
Vale test updates
Signed-off-by: Lynette Miles <[email protected]>
1 parent 95da9e1 commit b20a8e8

File tree

6 files changed

+17
-5
lines changed

6 files changed

+17
-5
lines changed

CONTRIBUTING.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -140,13 +140,17 @@ The following tests are at a `error` level and will prevent merging:
140140

141141
- [AmSpelling](https://developers.google.com/style/word-list)
142142
- [Ampersand](https://developers.google.com/style/word-list#ampersand)
143+
- Don't use
143144
- [Emdash](https://github.com/errata-ai/Google/blob/master/Google/EmDash.yml)
144145
- [Endash](https://github.com/errata-ai/Google/blob/master/Google/EmDash.yml)
145146
- [Exclamation](https://github.com/errata-ai/Google/blob/master/Google/Exclamation.yml)
146147
- [Gender](https://developers.google.com/style/pronouns#gender-neutral-pronouns)
147148
- [GenderBias](https://developers.google.com/style/inclusive-documentation)
149+
- [Hints](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/Hints.yml) using `>`.
148150
- [HeadingPunctuation](https://developers.google.com/style/capitalization#capitalization-in-titles-and-headings)
151+
- [Latin](https://developers.google.com/style/abbreviations)
149152
- [LyHyphens](https://developers.google.com/style/hyphens)
153+
- [MayMightCan](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/MayMightCan.yml)
150154
- [NonStandardQuotes](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/NonStandardQuotes.yml):
151155
[Use standard quotes](https://developers.google.com/style/quotation-marks#straight-and-curly-quotation-marks).
152156
By default, Google Docs and Microsoft Word turn standard straight quotes into "smart"
@@ -155,13 +159,21 @@ The following tests are at a `error` level and will prevent merging:
155159
in [Google Docs](https://support.google.com/docs/thread/217182974/can-i-turn-smart-quotes-off-in-a-google-doc?hl=en)
156160
or [Microsoft Word](https://support.microsoft.com/en-us/office/smart-quotes-in-word-and-powerpoint-702fc92e-b723-4e3d-b2cc-71dedaf2f343)
157161
to prevent this problem.
162+
- [Optional plurals](https://developers.google.com/style/plurals-parentheses)
158163
- [Ordinal](https://developers.google.com/style/numbers)
164+
- [Periods](https://developers.google.com/style/abbreviations)
165+
- [Ranges](https://developers.google.com/style/hyphens)
159166
- [Repetition](https://github.com/errata-ai/vale/blob/v3/testdata/styles/Markup/Repetition.yml):
160167
Checks for the same word used twice in succession.
168+
- [Slang](https://developers.google.com/style/abbreviations)
169+
- [Spacing](https://developers.google.com/style/sentence-spacing)
161170

162171
The following tests are at a `warning` level and won't prevent merging:
163172

164173
- [Ampersand](https://developers.google.com/style/word-list#ampersand)
174+
- [First person](https://developers.google.com/style/pronouns#personal-pronouns)
175+
- [Possessives](https://developers.google.com/style/possessives)
176+
- [Simplicity](https://developers.google.com/style/word-list#easy)
165177

166178
### Markdownlint
167179

MAINTAINERS.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Fluent Bit Documentation Maintainers
22

3-
Fluent Bit is developed and supported by many individuals and companies. The following table list the names of maintainers per components and the company supporting their work.
3+
Fluent Bit is developed and supported by many individuals and companies. The following table list the names of maintainers per components and the company supporting their work.
44

55
| Maintainer Name | Documentation portion | Company |
66
| :---------------------------------------------------- | ------------------------ | ------------------------------------------------- |
@@ -11,4 +11,3 @@ Fluent Bit is developed and supported by many individuals and companies. The fo
1111
| [Alexa Kreizinger](https://github.com/alexakreizinger) | All | [Chronosphere](https://chronosphere.io) |
1212
| [Paige Cruz](https://github.com/paigerduty) | All | [Chronosphere](https://chronosphere.io/) |
1313
| [Eric D. Schabell](https://github.com/eschabell) | All | [Chronosphere](https://chronosphere.io/) |
14-

vale-styles/FluentBit/Ranges.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@ extends: existence
22
message: "Don't add words such as 'from' or 'between' to describe a range of numbers."
33
link: 'https://developers.google.com/style/hyphens'
44
nonword: true
5-
level: warning
5+
level: error
66
tokens:
77
- '(?:from|between)\s\d+\s?-\s?\d+'

vale-styles/FluentBit/Slang.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ extends: existence
22
message: "Don't use internet slang abbreviations such as '%s'."
33
link: 'https://developers.google.com/style/abbreviations'
44
ignorecase: true
5-
level: warning
5+
level: error
66
tokens:
77
- 'tl;dr'
88
- ymmv

vale-styles/FluentBit/Spacing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
extends: existence
22
message: "'%s' should have one space."
33
link: 'https://developers.google.com/style/sentence-spacing'
4-
level: warning
4+
level: error
55
nonword: true
66
tokens:
77
- '[a-z][.?!] {2,}[A-Z]'

vale-styles/FluentBit/Spelling-exceptions.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,7 @@ Lua
119119
Lucene
120120
macOS
121121
Mandiant
122+
markdownlint
122123
matchers
123124
metacharacter
124125
Metricbeat

0 commit comments

Comments
 (0)