From e31db7fe939f70bf62b6b12c8f304279f74d7d39 Mon Sep 17 00:00:00 2001 From: Lynette Miles Date: Fri, 9 May 2025 10:20:49 -0700 Subject: [PATCH] Vale: Add US spelling test Signed-off-by: Lynette Miles --- CONTRIBUTING.md | 1 + vale-styles/FluentBit/AmSpelling.yml | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 03f74d587..37f0ac058 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -128,6 +128,7 @@ at the `suggestion` level and won't block merging. The following tests are at a `error` level and will prevent merging: +- [AmSpelling](https://developers.google.com/style/word-list) - [NonStandardQuotes](https://github.com/fluent/fluent-bit-docs/blob/master/vale-styles/FluentBit/NonStandardQuotes.yml): [Use standard quotes](https://developers.google.com/style/quotation-marks#straight-and-curly-quotation-marks). By default, Google Docs and Microsoft Word turn standard straight quotes into "smart" diff --git a/vale-styles/FluentBit/AmSpelling.yml b/vale-styles/FluentBit/AmSpelling.yml index 9a8ea2e30..f871b061e 100644 --- a/vale-styles/FluentBit/AmSpelling.yml +++ b/vale-styles/FluentBit/AmSpelling.yml @@ -1,8 +1,8 @@ extends: existence -message: "In general, use American spelling instead of '%s'." +message: "In general, use US English spelling instead of '%s'." link: 'https://developers.google.com/style/spelling' ignorecase: true -level: suggestion +level: error tokens: - '(?:\w+)nised?' - - '(?:\w+)logue' \ No newline at end of file + - '(?:\w+)logue'