Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
kachick committed Apr 2, 2024
1 parent 17b424e commit 08daf44
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions _typos.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
[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: macthed 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",
]

0 comments on commit 08daf44

Please sign in to comment.