matrix-rust-sdk/.typos.toml

36 lines
1.2 KiB
TOML
Raw Permalink Normal View History

[default]
extend-ignore-re = [
# base 58 strings with spaces every four chars.
# this would also match regular sentence parts with eight or more words of
# exactly four characters in row, but that doesn't really happen.
"[1-9A-Za-z]{4}( [1-9A-Za-z]{4}){7,}",
# some heuristics for base64 strings with no false matches found at the
# time of writing.
"[A-Za-z0-9+=]{72,}",
"([A-Za-z0-9+=]|\\\\\\s\\*){72,}",
"[0-9+][A-Za-z0-9+]{30,}[a-z0-9+]",
"\\$[A-Z0-9+][A-Za-z0-9+]{6,}[a-z0-9+]",
"\\b[a-z0-9+/=][A-Za-z0-9+/=]{7,}[a-z0-9+/=][A-Z]\\b",
]
2023-07-05 09:26:48 +00:00
[default.extend-identifiers]
WeeChat = "WeeChat"
# all of these are valid words, but should never appear in this repo
[default.extend-words]
sing = "sign"
singed = "signed"
singing = "signing"
2023-11-10 16:06:21 +00:00
Nd = "Nd"
ratatui = "ratatui"
[files]
2023-07-27 08:07:46 +00:00
extend-exclude = [
# Our json files contain a bunch of base64 encoded ed25519 keys.
2023-07-27 08:07:46 +00:00
"*.json",
# Fuzzy match patterns that can be understood as typos confusingly.
2023-07-27 08:07:46 +00:00
"crates/matrix-sdk-ui/tests/integration/room_list_service.rs",
# Hand-crafted base64 session keys that are understood as typos.
"crates/matrix-sdk-indexeddb/src/crypto_store/migrations/mod.rs",
2023-07-27 08:07:46 +00:00
]