-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Expand file tree
/
Copy path_typos.toml
More file actions
68 lines (65 loc) · 1.68 KB
/
_typos.toml
File metadata and controls
68 lines (65 loc) · 1.68 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
[default.extend-words]
flate = "flate"
[default.extend-identifiers]
ACCES = "ACCES"
ba = "ba"
ba2 = "ba2"
bui = "bui"
category_Nd = "category_Nd"
DW_AT_endianity = "DW_AT_endianity"
EXTA = "EXTA"
GC_get_thr_restart_signal = "GC_get_thr_restart_signal"
get_thr_restart_signal = "get_thr_restart_signal"
IPPROTO_ND = "IPPROTO_ND"
IST = "IST"
iTolen = "iTolen"
iy = "iy"
larg = "larg"
Nd = "Nd"
numer = "numer"
OLT = "OLT"
pendings = "pendings"
RELA = "RELA"
RPC_S_CALL_FAILED_DNE = "RPC_S_CALL_FAILED_DNE"
SEH = "SEH"
setup_seh_handler = "setup_seh_handler"
usri4_parms = "usri4_parms"
msg_controllen = "msg_controllen"
__crystal_sigfault_handler = "__crystal_sigfault_handler"
TunkShif = "TunkShif"
[default]
extend-ignore-re = [
# numeric literals
'0x[0-9a-fA-F_\.\+]+([fiu](8|16|32|64|128))?',
'\\u\{[0-9a-fA-F]+\}',
# proper names
'FLE Standard Time',
'Universally Unique IDentifier',
# constants
'ERROR_\w+',
'EVP_CIPH.*',
# fixed test values
'FOO|/Fo',
'rCVZVOThsIa97pEDOxvGu',
'\w*AAAAAAAA\w*',
# several string specs
'"(Fo-ur|thi|abd|alo|tro|tring|ue)"',
'"(aGFo|hel|Hel|thr|noe|Noe|BaR|fo|FO)', '(hel|Hel|worl|Worl|fo)"',
'/fo|/FO', "'fo", "/\\(fo",
'tr‸ue|fo‸o',
"\"[^\"]+\"\\.to_slice\\s*=> [\"']\\\\u", # src/html/entities.cr
" ([a-zA-Z.]{8} ){4}->", # src/bit_array.cr
"[A-z]+[0-9]+", # words including a number are likely some kind of identifier
"sha256[:-][0-9A-z=]+", # shell.nix
]
[files]
extend-exclude = [
".git/**",
"lib/**",
"man/**",
"spec/compiler/semantic/did_you_mean_spec.cr",
"spec/std/string_scanner_spec.cr",
"spec/std/data/**",
"spec/std/string/grapheme_break_spec.cr",
"src/compiler/crystal/tools/playground/public/vendor/",
]