Skip to content

Jitsi Meet - Secure, Simple and Scalable Video Conferences that you use as a standalone app or embed in your web application.

feat(ci): using .luacheckrc

Werner Fleischere6eba3536ad9
diff --git a/.github/workflows/ci-lua.yml b/.github/workflows/ci-lua.yml
index 123c088d9d..6fe4c59574 100644
--- a/.github/workflows/ci-lua.yml
+++ b/.github/workflows/ci-lua.yml
@@ -17,8 +17,7 @@ jobs:
- name: Check lua codes
run: |
- set -o pipefail
- luacheck -q -gur -i 581 --no-max-line-length --no-color --formatter plain $(find -name '*.lua') | awk -F: '
+ set -o pipefail && luacheck . | awk -F: '
{
print $0
printf "::warning file=%s,line=%s,col=%s::%s\n", $1, $2, $3, $4
diff --git a/.luacheckrc b/.luacheckrc
new file mode 100644
index 0000000000..148df0976b
--- /dev/null
+++ b/.luacheckrc
@@ -0,0 +1,8 @@
+global = false
+unused = false
+redefined = false
+ignore = { "581" }
+max_line_length = false
+color = false
+formatter = "plain"
+quiet = 1