GHA CI: add spelling check (typos)

This commit is contained in:
Chocobo1 2023-06-26 12:37:13 +08:00
commit 88bd4f270f
No known key found for this signature in database
GPG key ID: 210D9C873253A68C
2 changed files with 43 additions and 0 deletions

View file

@ -0,0 +1,18 @@
# https://github.com/crate-ci/typos/blob/master/docs/reference.md
# https://github.com/crate-ci/typos/blob/master/docs/design.md#identifiers-and-words
# try adding to `identifiers` list first, if doesn't work then `words` list
[default.extend-identifiers]
additionals = "additionals"
caf = "caf"
curren = "curren"
FO = "FO"
ket = "ket"
Q_INVOKABLE = "Q_INVOKABLE"
switchs = "switchs"
ths = "ths"
[default.extend-words]
BA = "BA"
helo = "helo"