From 1f6d59bcc80791ef9a192132bd2127e89d0b9a20 Mon Sep 17 00:00:00 2001 From: John Vandenberg Date: Sat, 21 Dec 2024 06:53:06 +0800 Subject: [PATCH] Add .typos.toml --- .typos.toml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .typos.toml diff --git a/.typos.toml b/.typos.toml new file mode 100644 index 000000000..77f783e0a --- /dev/null +++ b/.typos.toml @@ -0,0 +1,25 @@ +# See https://github.com/crate-ci/typos/blob/master/docs/reference.md to configure typos + +[default] +extend-ignore-re = [ + "__fpr", + "(?i)TYPDEF_DECL", + "ParmVarDecl", + "CharLits", + "hpe_", + "reachable_froms", + "(\\$ot|ot =|ot\\.| ot\\)|ot_ty)", +] + +[default.extend-identifiers] +mapp = "mapp" +inouts = "inouts" + +[default.extend-words] +clen = "clen" + +[files] +extend-exclude = [ + "examples/*", + "*.asc", +]