-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path_typos.toml
More file actions
42 lines (39 loc) · 1.36 KB
/
Copy path_typos.toml
File metadata and controls
42 lines (39 loc) · 1.36 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
# Configuration for the `typos` typo checker.
# https://github.com/crate-ci/typos
[default]
# Ignore crypto-shaped blobs and hex runs in test vectors / fixtures.
extend-ignore-re = [
# base64url runs (any 32+ chars) — age public keys, R2 tokens, etc.
"[A-Za-z0-9_-]{32,}",
# Hex runs (8+ chars) — SHA-256, git short-hashes in docs, etc.
"\\b[0-9a-f]{8,}\\b",
# markdown anchor link fragments
"#[a-z0-9][a-z0-9-]*",
]
[default.extend-words]
nts = "nts" # the binary name
ntfy = "ntfy" # the notification service
# `ba` is used as a variable name in merge-algorithm tests to mean
# "merge applied B-then-A" (vs `ab` for A-then-B). Not a typo of "by"/"be".
ba = "ba"
ab = "ab"
# `abd` appears inside test-fixture strings like "nts_abd" (paired with
# "nts_abc" in hash-distinctness assertions). Not a typo of "and"/"bad".
abd = "abd"
# `Encrypter` is the project-canonical naming for the encryption wrapper
# (Rust crate uses this spelling, vs typos's preference for "Encryptor").
Encrypter = "Encrypter"
# `unparseable` is the project-canonical spelling used in error messages
# (typos prefers "unparsable"; both are accepted English forms).
unparseable = "unparseable"
[files]
extend-exclude = [
"target/",
"node_modules/",
"Cargo.lock",
"pnpm-lock.yaml",
"package-lock.json",
"web/worker/package-lock.json",
"*.png",
"*.svg",
]