mirror of
https://github.com/curl/curl.git
synced 2026-04-28 10:12:12 +03:00
tidy-up: miscellaneous (cont.)
- examples: replace magic numbers with `sizeof()`. - typos: drop rules no longer needed after excluding tests/data. - typos: move an exception inline. - alpha-sort lists. - fix indentation, whitespace. Closes #18898
This commit is contained in:
parent
b12da22db1
commit
6f0e212f6e
17 changed files with 29 additions and 30 deletions
11
.github/scripts/typos.toml
vendored
11
.github/scripts/typos.toml
vendored
|
|
@ -9,13 +9,10 @@ extend-ignore-identifiers-re = [
|
|||
"^(ECT0|ECT1|HELO|htpt|PASE)$",
|
||||
"^[A-Za-z0-9_-]*(EDE|GOST)[A-Z0-9_-]*$", # ciphers
|
||||
"^0x[0-9a-fA-F]+FUL$", # unsigned long hex literals ending with 'F'
|
||||
"^[0-9a-zA-Z+]{64,}$", # possibly base64
|
||||
"^(Januar|eyeballers|HELO_smtp|kno22|MkTypLibCompatible|optin|passin|perfec|__SecURE|SMTP_HELO|v_alue)$",
|
||||
"^(clen|req_clen|smtp_perform_helo|smtp_state_helo_resp|_stati64)$",
|
||||
"^Tru64$",
|
||||
"^(eyeballers|HELO_smtp|optin|passin|perfec|SMTP_HELO)$",
|
||||
"^(clen|req_clen|smtp_perform_helo|smtp_state_helo_resp|Tru64|_stati64)$",
|
||||
"secur32",
|
||||
# this should be limited to tests/http/*. Short for secure proxy.
|
||||
"proxys",
|
||||
"proxys", # this should be limited to tests/http/*. Short for secure proxy.
|
||||
]
|
||||
|
||||
extend-ignore-re = [
|
||||
|
|
@ -28,8 +25,8 @@ extend-exclude = [
|
|||
".github/scripts/spellcheck.words",
|
||||
"docs/THANKS",
|
||||
"packages/*",
|
||||
"scripts/wcurl",
|
||||
"projects/Windows/tmpl/curl.vcxproj",
|
||||
"projects/Windows/tmpl/libcurl.vcxproj",
|
||||
"scripts/wcurl",
|
||||
"tests/data/test*",
|
||||
]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue