Skip to content

Commit b2f5e4c

Browse files
committed
Turning on error test for curly quotes
Signed-off-by: Lynette Miles <[email protected]>
1 parent 15e6bf3 commit b2f5e4c

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

CONTRIBUTING.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,4 +123,11 @@ possible. For example:
123123
### Vale
124124

125125
The Fluent Bit maintainers use the [Vale](https://vale.sh/docs/) plugin, which lints
126-
pull requests and adds suggestions to improve style and clarity.
126+
pull requests and adds suggestions to improve style and clarity. Most Vale tests are
127+
at the `suggestion` level and will not block merging.
128+
129+
The following tests are at a `warning` level and will prevent merging:
130+
131+
- NonStandardQuotes: Use standard quotes. Google docs use curly quotes. Copy and
132+
pasting from Google docs requires correcting the quotes. You can
133+
[turn off smart quotes](https://support.google.com/docs/thread/217182974/can-i-turn-smart-quotes-off-in-a-google-doc?hl=en).

vale-styles/FluentBit/NonStandardQuotes.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
extends: existence
33
message: 'Use standard single quotes or double quotes only. Do not use left or right quotes.'
4-
level: suggestion
4+
level: error
55
ignorecase: true
66
scope: raw
77
raw:

0 commit comments

Comments
 (0)