mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-22 03:21:00 +00:00
ci: check for typos
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs/-/merge_requests/1170>
This commit is contained in:
parent
403004a85e
commit
3eca8c60e3
2 changed files with 29 additions and 0 deletions
|
@ -400,6 +400,14 @@ rustfmt:
|
|||
- cargo fmt --version
|
||||
- cargo fmt -- --color=always --check
|
||||
|
||||
typos:
|
||||
extends: .img-stable
|
||||
stage: "lint"
|
||||
rules:
|
||||
- when: 'always'
|
||||
script:
|
||||
- typos
|
||||
|
||||
gstwebrtc-api lint:
|
||||
image: node:lts
|
||||
stage: "lint"
|
||||
|
|
21
typos.toml
Normal file
21
typos.toml
Normal file
|
@ -0,0 +1,21 @@
|
|||
[default.extend-words]
|
||||
ND = "ND" # net/ndi
|
||||
encrypter = "encrypter"
|
||||
numer = "numer" # numerator
|
||||
paeth = "paeth"
|
||||
seeked = "seeked"
|
||||
|
||||
# mux/mp4
|
||||
fiel = "fiel"
|
||||
trun = "trun"
|
||||
|
||||
[files]
|
||||
extend-exclude = [
|
||||
"*.mcc",
|
||||
"*.ref",
|
||||
"*.scc",
|
||||
"net/webrtc/gstwebrtc-api/src/keysyms.js",
|
||||
# third party code
|
||||
"video/closedcaption/src/c/*",
|
||||
"net/webrtc/gstwebrtc-api/third-party/*",
|
||||
]
|
Loading…
Reference in a new issue