This commit is contained in:
parent
bbfec84081
commit
113bc79d77
@ -19,7 +19,8 @@ steps:
|
|||||||
- apk add --no-cache build-base curl unzip
|
- apk add --no-cache build-base curl unzip
|
||||||
- apk add --no-cache lua5.1 lua5.1-dev luarocks5.1
|
- apk add --no-cache lua5.1 lua5.1-dev luarocks5.1
|
||||||
- luarocks-5.1 install luacheck
|
- luarocks-5.1 install luacheck
|
||||||
- luacheck sources/*.lua --compat --allow-defined --no-unused-args --no-max-line-length
|
- cd sources
|
||||||
|
- luacheck ./*.lua
|
||||||
|
|
||||||
- name: build
|
- name: build
|
||||||
image: alpine
|
image: alpine
|
||||||
|
12
.luacheckrc
Normal file
12
.luacheckrc
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
allow_defined = true
|
||||||
|
max_line_length = false
|
||||||
|
|
||||||
|
std = {
|
||||||
|
read_globals = {
|
||||||
|
"LINK_STYLE_BRACKET",
|
||||||
|
"EVENT_MANAGER",
|
||||||
|
"CHAT_SYSTEM",
|
||||||
|
"ZO_SavedVars",
|
||||||
|
"LibStub"
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user