-
Notifications
You must be signed in to change notification settings - Fork 0
/
typos.toml
23 lines (22 loc) · 964 Bytes
/
typos.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[default]
# https://github.com/crate-ci/typos/blob/v1.19.0/docs/reference.md
# Be careful to handle extend-ignore-* variants
# - extend-ignore-words-re: matched symbol
# - extend-ignore-identifiers-re: suggesting symbol
# - extend-ignore-re: matching target string
extend-ignore-words-re = [
# In my experience, false positive detection in typos occurred for short words.
#
# * My typos are increased as the words get longer
# * Too short often conflict with hash strings especially `ba`: https://github.com/crate-ci/typos/issues/415
# * Added 2 or 3 character abbreviations as wrong: https://github.com/crate-ci/typos/issues/955
#
# So I guess skipping all these detections makes reasonable behaviors for now and for the future.
"\\A[a-zA-Z]{1,3}\\z",
]
[files]
extend-exclude = [
"go.mod",
# typos does not have line based disabling option. See https://github.com/crate-ci/typos/issues/316#issuecomment-889836924
"**/typo_commands.nix",
]