Skip to content

Commit 8158ba7

Browse files
authored
Merge pull request #1624 from fluent/lynettemiles/sc-134529/update-fluent-bit-repetition-vale-test-to
2 parents d749297 + 35f3dd0 commit 8158ba7

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

CONTRIBUTING.md

+5-3
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,10 @@ The following tests are at a `error` level and will prevent merging:
131131
- [NonStandardQuotes](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/NonStandardQuotes.yml):
132132
[Use standard quotes](https://developers.google.com/style/quotation-marks#straight-and-curly-quotation-marks).
133133
By default, Google Docs and Microsoft Word turn standard straight quotes into "smart"
134-
curly quotes. If you copy-paste from one of these tools, you must correct the quotes
135-
back to straight quotes. You can also turn off smart quotes
136-
in [Google Docs](https://support.google.com/docs/thread/217182974/can-i-turn-smart-quotes-off-in-a-google-doc?hl=en)
134+
curly quotes. If you copy-paste from one of these tools, you must correct the quotes
135+
back to straight quotes. You can also turn off smart quotes
136+
in [Google Docs](https://support.google.com/docs/thread/217182974/can-i-turn-smart-quotes-off-in-a-google-doc?hl=en)
137137
or [Microsoft Word](https://support.microsoft.com/en-us/office/smart-quotes-in-word-and-powerpoint-702fc92e-b723-4e3d-b2cc-71dedaf2f343)
138138
to prevent this problem.
139+
- [Repetition](https://github.com/errata-ai/vale/blob/v3/testdata/styles/Markup/Repetition.yml):
140+
Checks for the same word used twice in succession.

vale-styles/FluentBit/Repetition.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
extends: repetition
33
message: '"%s" is repeated.'
4-
level: suggestion
4+
level: error
55
alpha: true
66
tokens:
77
- '[^\s]+'

0 commit comments

Comments
 (0)