]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
chore: Improve typos configuration (#1358)
authorViktor Szépe <viktor@szepe.net>
Sun, 26 Nov 2023 17:16:29 +0000 (18:16 +0100)
committerGitHub <noreply@github.com>
Sun, 26 Nov 2023 17:16:29 +0000 (18:16 +0100)
misc/typos.toml

index b484b655ddeeebdbe2612581f213f55b71354644..1637da691567a3e17a5afa09d83f8a9f7347fc0b 100644 (file)
@@ -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"