Skip to content

Commit e31db7f

Browse files
committed
Vale: Add US spelling test
Signed-off-by: Lynette Miles <[email protected]>
1 parent ea8e63e commit e31db7f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CONTRIBUTING.md

+1
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ at the `suggestion` level and won't block merging.
128128

129129
The following tests are at a `error` level and will prevent merging:
130130

131+
- [AmSpelling](https://developers.google.com/style/word-list)
131132
- [NonStandardQuotes](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/NonStandardQuotes.yml):
132133
[Use standard quotes](https://developers.google.com/style/quotation-marks#straight-and-curly-quotation-marks).
133134
By default, Google Docs and Microsoft Word turn standard straight quotes into "smart"

vale-styles/FluentBit/AmSpelling.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
extends: existence
2-
message: "In general, use American spelling instead of '%s'."
2+
message: "In general, use US English spelling instead of '%s'."
33
link: 'https://developers.google.com/style/spelling'
44
ignorecase: true
5-
level: suggestion
5+
level: error
66
tokens:
77
- '(?:\w+)nised?'
8-
- '(?:\w+)logue'
8+
- '(?:\w+)logue'

0 commit comments

Comments
 (0)