Skip to content

Commit 0615c4f

Browse files
author
Caio P.
committed
Add more general typos exception for code
1 parent 0fcc214 commit 0615c4f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.typos.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@ extend-exclude = [
55

66
[default]
77
locale = "en-us"
8+
extend-ignore-identifiers-re = [
9+
"Prioritised[A-Z][a-z]\\w+" # allow canadian spelling in code, e.g. PrioritisedTask, PrioritisedThreadedTaskQueue...
10+
]
811

912
[default.extend-identifiers]
1013
Spectre = "Spectre" # ignore error, the vulnerability is named Spectre
11-
PrioritisedThreadedTaskQueue = "PrioritisedThreadedTaskQueue" # allow canadian spelling in code
1214

1315
[default.extend-words]
1416
accessorise = "accessorize"

0 commit comments

Comments
 (0)