Update luacheck rules
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Florian Brinker 2019-10-24 18:06:39 +02:00
orang tua bbfec84081
melakukan 113bc79d77
2 mengubah file dengan 14 tambahan dan 1 penghapusan

Melihat File

@ -19,7 +19,8 @@ steps:
- apk add --no-cache build-base curl unzip
- apk add --no-cache lua5.1 lua5.1-dev luarocks5.1
- luarocks-5.1 install luacheck
- luacheck sources/*.lua --compat --allow-defined --no-unused-args --no-max-line-length
- cd sources
- luacheck ./*.lua
- name: build
image: alpine

12
.luacheckrc Normal file
Melihat 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"
}
}