From 6c0e32fe03f1410e94c38ea8862ab379a6d1747b Mon Sep 17 00:00:00 2001 From: kolchfa-aws <105444904+kolchfa-aws@users.noreply.github.com> Date: Wed, 31 Jan 2024 12:13:35 -0500 Subject: [PATCH] Remove adverbs of time rule (#6323) Signed-off-by: Fanit Kolchina --- .github/vale/styles/OpenSearch/AdverbsOfTime.yml | 8 -------- .github/vale/tests/test-style-neg.md | 2 -- .github/vale/tests/test-style-pos.md | 2 -- .vale.ini | 1 - 4 files changed, 13 deletions(-) delete mode 100644 .github/vale/styles/OpenSearch/AdverbsOfTime.yml diff --git a/.github/vale/styles/OpenSearch/AdverbsOfTime.yml b/.github/vale/styles/OpenSearch/AdverbsOfTime.yml deleted file mode 100644 index c1b04c74..00000000 --- a/.github/vale/styles/OpenSearch/AdverbsOfTime.yml +++ /dev/null @@ -1,8 +0,0 @@ -extends: existence -message: "Don't use a comma after single-word adverbs of time at the beginning of a sentence in '%s'." -link: https://github.com/opensearch-project/documentation-website/blob/main/STYLE_GUIDE.md#punctuation-and-capitalization -level: error -ignorecase: false -nonword: true -tokens: - - '(?:(^|\s)(Then|Afterward|Later|Subsequently)),' diff --git a/.github/vale/tests/test-style-neg.md b/.github/vale/tests/test-style-neg.md index 4b474cb0..4049eec3 100644 --- a/.github/vale/tests/test-style-neg.md +++ b/.github/vale/tests/test-style-neg.md @@ -2,8 +2,6 @@ This sentence tests Advanced Placement (AP). We should define AP before using. -Then this sentence tests adverbs of time. - This sentence tests cybersecurity. This sentence tests dash---spacing. diff --git a/.github/vale/tests/test-style-pos.md b/.github/vale/tests/test-style-pos.md index 7ab71a36..1cf640f4 100644 --- a/.github/vale/tests/test-style-pos.md +++ b/.github/vale/tests/test-style-pos.md @@ -2,8 +2,6 @@ This sentence tests AP. AP should be defined before using. -Then, this sentence tests adverbs of time. - This sentence tests cyber security. This sentence tests dash --- spacing. diff --git a/.vale.ini b/.vale.ini index a87a8a06..2fb470b9 100644 --- a/.vale.ini +++ b/.vale.ini @@ -19,7 +19,6 @@ Vale.Spelling = NO Vale.Repetition = NO Vale.Terms = YES OpenSearch.AcronymParentheses = YES -OpenSearch.AdverbsOfTime = YES OpenSearch.Ampersand = YES OpenSearch.Cyber = YES OpenSearch.DashSpacing = YES