mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
feat(ci): using .luacheckrc
This commit is contained in:
committed by
Saúl Ibarra Corretgé
parent
74bdb7bc3f
commit
e6eba3536a
3
.github/workflows/ci-lua.yml
vendored
3
.github/workflows/ci-lua.yml
vendored
@@ -17,8 +17,7 @@ jobs:
|
|||||||
|
|
||||||
- name: Check lua codes
|
- name: Check lua codes
|
||||||
run: |
|
run: |
|
||||||
set -o pipefail
|
set -o pipefail && luacheck . | awk -F: '
|
||||||
luacheck -q -gur -i 581 --no-max-line-length --no-color --formatter plain $(find -name '*.lua') | awk -F: '
|
|
||||||
{
|
{
|
||||||
print $0
|
print $0
|
||||||
printf "::warning file=%s,line=%s,col=%s::%s\n", $1, $2, $3, $4
|
printf "::warning file=%s,line=%s,col=%s::%s\n", $1, $2, $3, $4
|
||||||
|
|||||||
8
.luacheckrc
Normal file
8
.luacheckrc
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
global = false
|
||||||
|
unused = false
|
||||||
|
redefined = false
|
||||||
|
ignore = { "581" }
|
||||||
|
max_line_length = false
|
||||||
|
color = false
|
||||||
|
formatter = "plain"
|
||||||
|
quiet = 1
|
||||||
Reference in New Issue
Block a user