atagen

matrix-rust-sdk

public
Star0
Watch0
ssh://brewery@pls.lobotomise.me:33/atagen/matrix-rust-sdk.git
.typos.tomlToml44 lines1.3 KB
1
[default]
2
extend-ignore-re = [
3
    # base 58 strings with spaces every four chars.
4
    # this would also match regular sentence parts with eight or more words of
5
    # exactly four characters in row, but that doesn't really happen.
6
    "[1-9A-Za-z]{4}( [1-9A-Za-z]{4}){7,}",
7
    # some heuristics for base64 strings with no false matches found at the
8
    # time of writing.
9
    "[A-Za-z0-9+=]{72,}",
10
    "([A-Za-z0-9+=]|\\\\\\s\\*){72,}",
11
    "[0-9+][A-Za-z0-9+]{30,}[a-z0-9+]",
12
    "\\$[A-Z0-9+][A-Za-z0-9+]{6,}[a-z0-9+]",
13
    "\\b[a-z0-9+/=][A-Za-z0-9+/=]{7,}[a-z0-9+/=][A-Z]\\b",
14
]
15
16
[default.extend-identifiers]
17
WeeChat = "WeeChat"
18
19
[default.extend-words]
20
# all of these are valid words, but should never appear in this repo
21
bellow = "below"
22
stat = "state"
23
sing = "sign"
24
singed = "signed"
25
singing = "signing"
26
# crate name
27
ratatui = "ratatui"
28
# path name
29
consts = "consts"
30
# base64 false positives
31
Nd = "Nd"
32
Abl = "Abl"
33
Som = "Som"
34
Ba = "Ba"
35
Yur = "Yur" # as found in crates/matrix-sdk-indexeddb/src/crypto_store/migrations/mod.rs
36
TYE = "TYE" # as found in testing/matrix-sdk-test/src/test_json/keys_query_sets.rs
37
38
[files]
39
extend-exclude = [
40
    # Our json files contain a bunch of base64 encoded ed25519 keys.
41
    "*.json",
42
    # Fuzzy match patterns that can be understood as typos confusingly.
43
    "crates/matrix-sdk-ui/tests/integration/room_list_service.rs",
44
]