From 3e058ae3894f5209823b725ffa4e7bd2b24bb292 Mon Sep 17 00:00:00 2001 From: Viktor Szépe Date: Mon, 26 Aug 2024 11:14:09 +0200 Subject: Improve typos configuration (#714) --- .typos.toml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.typos.toml b/.typos.toml index 361b757..672f5ba 100644 --- a/.typos.toml +++ b/.typos.toml @@ -3,13 +3,23 @@ # word is treated as always correct. If the value is an empty string, the word # is treated as always incorrect. +[files] +extend-exclude = [ + ".git/", +] +ignore-hidden = false + +[default] +extend-ignore-re = [ + "\\bPolygon::PN\\b", +] + # Case sensitive, matches entire word. [default.extend-identifiers] anc_color = "anc_color" -PN = "PN" rady = "rady" # Case insensitive, matches inside word. [default.extend-words] -toi = "toi" bellow = "below" +toi = "toi" -- cgit