diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b85b9d9b..8f528d0b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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" diff --git a/typos.toml b/typos.toml new file mode 100644 index 00000000..8631dd31 --- /dev/null +++ b/typos.toml @@ -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/*", +] \ No newline at end of file