From 73b4794cf7b6f7ba824e3300d85b462fe414b736 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Viktor=20Sz=C3=A9pe?= Date: Wed, 17 Apr 2024 02:36:28 +0200 Subject: [PATCH] Improve typos configuration (#19489) --- .github/workflows/typos.yml | 2 +- .typos.toml | 29 +++++++++++------------------ 2 files changed, 12 insertions(+), 19 deletions(-) diff --git a/.github/workflows/typos.yml b/.github/workflows/typos.yml index c31e9daf3..7addb3143 100644 --- a/.github/workflows/typos.yml +++ b/.github/workflows/typos.yml @@ -1,5 +1,5 @@ --- -name: Test GitHub Action +name: Spelling on: [pull_request] jobs: diff --git a/.typos.toml b/.typos.toml index fafe3ffd1..38bdfb208 100644 --- a/.typos.toml +++ b/.typos.toml @@ -12,33 +12,26 @@ extend-ignore-re = [ "[0-9A-Za-z/+=]{64}", "ZXJuZXQxDjAMBgNVBA-some-junk-Q4wDAYDVQQLEwVNaW5pbzEOMAwGA1UEAxMF", "eyJmb28iOiJiYXIifQ", + "eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiJ9.*", + "MIIDBTCCAe2gAwIBAgIQWHw7h.*", 'http\.Header\{"X-Amz-Server-Side-Encryptio":', - 'sessionToken', ] [default.extend-words] "encrypter" = "encrypter" -"requestor" = "requestor" -"KMS" = "KMS" "kms" = "kms" -"Kms" = "Kms" -"Dur" = "Dur" -"EOF" = "EOF" -"hd" = "hd" -"ws" = "ws" -"guid" = "guid" -"lst" = "lst" -"pn" = "pn" -"Iy" = "Iy" -"ro" = "ro" -"thr" = "thr" +"requestor" = "requestor" [default.extend-identifiers] -"bui" = "bui" -"toi" = "toi" -"ot" = "ot" -"dm2nd" = "dm2nd" "HashiCorp" = "HashiCorp" + +[type.go.extend-identifiers] +"bui" = "bui" +"dm2nd" = "dm2nd" +"ot" = "ot" "ParseND" = "ParseND" "ParseNDStream" = "ParseNDStream" +"pn" = "pn" "TestGetPartialObjectMisAligned" = "TestGetPartialObjectMisAligned" +"thr" = "thr" +"toi" = "toi"