forked from EmbarkStudios/cargo-deny
-
Notifications
You must be signed in to change notification settings - Fork 0
/
typos.toml
23 lines (18 loc) · 781 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
# See documentation for this config file at https://github.com/crate-ci/typos/blob/master/docs/reference.md
[default.extend-identifiers]
# Crate name
flate2 = "flate2"
[files]
extend-exclude = [
# Exclude generated files that are checked in to source control
"Cargo.lock",
"/tests/test_data/features-galore/metadata.json",
# There are some typos in the advisories descriptions 😳
"docs/src/output/advisories.svg",
# Specific files that contain false positives. Unfortunately
# we have to ignore the entire file because we can't granularly
# ignore a specific false positive in a specific file.
# 'việt nam' triggers a false positive because typos works at single-word
# level, and it wants to correct 'nam' to 'name'
"src/advisories/helpers/db.rs"
]