From: Viktor Szépe Date: Sun, 26 Nov 2023 17:16:29 +0000 (+0100) Subject: chore: Improve typos configuration (#1358) X-Git-Tag: v4.9~17 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=5de8b286958c83fdb18d37ceb2e2011bb6d20ae9;p=thirdparty%2Fccache.git chore: Improve typos configuration (#1358) --- diff --git a/misc/typos.toml b/misc/typos.toml index b484b655d..1637da691 100644 --- a/misc/typos.toml +++ b/misc/typos.toml @@ -1,11 +1,21 @@ -[default.extend-words] -caf = "caf" -fo = "fo" -hda = "hda" -ot = "ot" -seve = "seve" -thi = "thi" -wronly = "wronly" - [files] -extend-exclude = ["misc/codespell-allowlist.txt", "src/third_party"] +extend-exclude = [ + ".git/", + "misc/codespell-allowlist.txt", + "src/third_party/", +] +ignore-hidden = false + +[default] +extend-ignore-re = [ + "clang-analyzer-optin", + "seve\\\\nth", + "thi\\\\\\\\rd", + " -ot ", + "tar -caf", + "[/-]Fo\\b", + "/FoN\\.", +] + +[default.extend-words] +"hda" = "hda"