aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorViktor Szépe <viktor@szepe.net>2024-08-26 11:14:09 +0200
committerGitHub <noreply@github.com>2024-08-26 11:14:09 +0200
commit3e058ae3894f5209823b725ffa4e7bd2b24bb292 (patch)
tree10067ed8e57083579adf1947e7ad7b94e8d11bf9
parentb66452b6c5d0834043bfe24e9b1597c0e554d40a (diff)
downloadrapier-3e058ae3894f5209823b725ffa4e7bd2b24bb292.tar.gz
rapier-3e058ae3894f5209823b725ffa4e7bd2b24bb292.tar.bz2
rapier-3e058ae3894f5209823b725ffa4e7bd2b24bb292.zip
Improve typos configuration (#714)
-rw-r--r--.typos.toml14
1 files 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"