ci: add typos-cli

Given that typos are frequent and may appear in the public API spell
check code on CI.
This commit is contained in:
AmeKnite 2024-03-04 14:04:53 -06:00 committed by Kirill Chibisov
parent 4ade1a7518
commit b2f9fad654
7 changed files with 35 additions and 11 deletions

6
typos.toml Normal file
View file

@ -0,0 +1,6 @@
# documentation: https://github.com/crate-ci/typos/blob/master/docs/reference.md
[default.extend-identifiers]
ptd = "ptd" # From winwows_sys::Win32::System::Com::FORMATETC { ptd, ..}
requestor = "requestor" # From x11_dl::xlib::XSelectionEvent { requestor ..}
XF86_Calculater = "XF86_Calculater" # From xkbcommon_dl::keysyms::XF86_Calculater