Skip to content

Commit a839c52

Browse files
authored
Make typos config stricter (bevyengine#17202)
# Objective - Currently ignores are too wide ## Solution - Make ignores stricter
1 parent b4442bc commit a839c52

File tree

1 file changed

+23
-19
lines changed

1 file changed

+23
-19
lines changed

typos.toml

Lines changed: 23 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,31 @@ ignore-hidden = false
99

1010
# Match Inside a Word - Case Insensitive
1111
[default.extend-words]
12-
LOD = "LOD" # Level of detail
13-
TOI = "TOI" # Time of impact
12+
LOD = "LOD" # Level of detail
13+
reparametrization = "reparametrization" # Mathematical term in curve context (reparameterize)
14+
reparametrize = "reparametrize"
15+
reparametrized = "reparametrized"
16+
17+
# Match a Whole Word - Case Sensitive
18+
[default.extend-identifiers]
19+
Ba = "Ba" # Bitangent for Anisotropy
20+
ba = "ba" # Part of an accessor in WGSL - weights.ba
21+
fLenOt = "fLenOt"
22+
iFO_a = "iFO_a"
23+
iFO_b = "iFO_b"
24+
ser = "ser" # ron::ser - Serializer
25+
toi = "toi" # Time of impact
26+
vOt = "vOt"
27+
vOt2 = "vOt2"
1428

1529
[default]
1630
locale = "en-us"
1731
# Ignored typos regexes
18-
extend-ignore-identifiers-re = [
19-
"Ba", # Bitangent for Anisotropy
20-
"ba", # Part of an accessor in WGSL - color.ba
21-
"ser", # ron::ser - Serializer
22-
"SME", # Subject Matter Expert
23-
"Sur", # macOS Big Sur - South
24-
"NDK", # NDK - Native Development Kit
25-
"PNG", # PNG - Portable Network Graphics file format
26-
"Masia", # The surname of one of the authors of SMAA
27-
"metalness", # Rendering term (metallicity)
28-
"inventario", # Inventory in Portuguese
29-
"[Rr]eparametrize", # Mathematical term in curve context (reparameterize)
30-
"[Rr]eparametrization",
31-
# Used in bevy_mikktspace
32-
"iFO",
33-
"vOt",
34-
"fLenOt",
32+
extend-ignore-re = [
33+
"\\bBelen Masia\\b", # The surname of one of the authors of SMAA
34+
"\\bBig Sur\\b", # macOS Big Sur
35+
"\\bgeneric-rpg-ui-inventario", # Inventory in Portuguese
36+
"\\bmetalness\\b", # Rendering term (metallicity)
37+
"\\bNDKs\\b", # NDK - Native Development Kit
38+
"\\bPNGs\\b", # PNG - Portable Network Graphics file format
3539
]

0 commit comments

Comments
 (0)