From 2b4b9ae76a5c2169471865248c332c86b9ab24fa Mon Sep 17 00:00:00 2001 From: kodster28 Date: Wed, 14 May 2025 07:59:15 -0500 Subject: [PATCH 1/2] [Vale] More updates --- .../styles/cloudflare/Contractions.yml | 2 +- .../styles/cloudflare/NonStandardQuotes.yml | 2 +- .../styles/cloudflare/UnclearAntecedent.yml | 21 ------------------- .../styles/plain-text-style-checks/casing.md | 4 ++-- 4 files changed, 4 insertions(+), 25 deletions(-) delete mode 100644 .hyperlint/automations/styles/cloudflare/UnclearAntecedent.yml diff --git a/.hyperlint/automations/styles/cloudflare/Contractions.yml b/.hyperlint/automations/styles/cloudflare/Contractions.yml index c4804154e1f371b..295c2040a1578f0 100644 --- a/.hyperlint/automations/styles/cloudflare/Contractions.yml +++ b/.hyperlint/automations/styles/cloudflare/Contractions.yml @@ -6,7 +6,7 @@ # For a list of all options, see https://vale.sh/docs/topics/styles/ extends: substitution -message: "Do not use contractions. Use '%s' instead of '%s'. Only change the contractions, nothing else." +message: "Do not use contractions. Only change the contractions, nothing else." link: https://developers.cloudflare.com/style-guide/grammar/parts-of-speech/contractions/ level: error ignorecase: true diff --git a/.hyperlint/automations/styles/cloudflare/NonStandardQuotes.yml b/.hyperlint/automations/styles/cloudflare/NonStandardQuotes.yml index f8123afb0038635..9d16c2bc00d56ba 100644 --- a/.hyperlint/automations/styles/cloudflare/NonStandardQuotes.yml +++ b/.hyperlint/automations/styles/cloudflare/NonStandardQuotes.yml @@ -5,7 +5,7 @@ # # For a list of all options, see https://vale.sh/docs/topics/styles/ extends: existence -message: "Use standard single quotes or double quotes only. Do not use left or right quotes. Only update the quotes and nothing else. Double quotes are fine, so long as they aren't directional." +message: Use standard single quotes ('''') or double quotes only (""). Do not use left or right quotes. Only update the quotes and nothing else. Backticks (`) are acceptable and do not need to be updated.' level: warning ignorecase: true link: https://developers.cloudflare.com/style-guide/grammar/punctuation-marks-and-symbols/quotation-marks/ diff --git a/.hyperlint/automations/styles/cloudflare/UnclearAntecedent.yml b/.hyperlint/automations/styles/cloudflare/UnclearAntecedent.yml deleted file mode 100644 index bc15c343945834a..000000000000000 --- a/.hyperlint/automations/styles/cloudflare/UnclearAntecedent.yml +++ /dev/null @@ -1,21 +0,0 @@ ---- -name: gitlab_base.UnclearAntecedent -description: | - Checks for words that need a noun for clarity. -extends: existence -message: "Instead of '%s', try starting this sentence with a specific subject and verb. Only update this part of the sentence and nothing else." -link: https://docs.gitlab.com/development/documentation/styleguide/word_list/#this-these-that-those -vocab: false -level: warning -ignorecase: false -tokens: - - "That is" - - "That was" - - "There are" - - "There were" - - "These are" - - "These were" - - "This is" - - "This was" - - "Those are" - - "Those were" diff --git a/.hyperlint/automations/styles/plain-text-style-checks/casing.md b/.hyperlint/automations/styles/plain-text-style-checks/casing.md index bc09f8a31c346cf..eb70fd8609ac7f3 100644 --- a/.hyperlint/automations/styles/plain-text-style-checks/casing.md +++ b/.hyperlint/automations/styles/plain-text-style-checks/casing.md @@ -32,10 +32,10 @@ UNIX URI URL WebRTC -WebSocket +WebSocket[s] Wi-Fi WordPress -Wrangler +[Ww]rangler VMware VPN YubiKey From d9524daeca4c35b03e23fb83d3ccbbf5257923c3 Mon Sep 17 00:00:00 2001 From: kodster28 Date: Wed, 14 May 2025 07:59:42 -0500 Subject: [PATCH 2/2] remove external link check --- .hyperlint/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.hyperlint/config.yaml b/.hyperlint/config.yaml index 257e2b1e3a60581..9ade8b7ec0b139a 100644 --- a/.hyperlint/config.yaml +++ b/.hyperlint/config.yaml @@ -6,7 +6,7 @@ reviewer: We review internal PRs within **1 week**. If it's something urgent or has been sitting without a comment, start a thread in the *Developer Docs* space internally. enabled: true external_link_validation: - enabled: true + enabled: false check_status_upon_review_failure: neutral summarize_pull_request: enabled: true