diff options
Diffstat (limited to '.luacheckrc')
-rw-r--r-- | .luacheckrc | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/.luacheckrc b/.luacheckrc index 1af61bfda..7ade0174a 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -34,7 +34,9 @@ globals = { 'rspamadm_ev_base', 'rspamadm_session', 'rspamadm_dns_resolver', - 'jit' + 'jit', + 'table.unpack', + 'unpack', } ignore = { @@ -55,10 +57,6 @@ files['/**/src/plugins/lua/reputation.lua'].globals = { 'math.tanh', } -files['/**/lualib/lua_util.lua'].globals = { - 'table.unpack', - 'unpack', -} files['/**/lualib/lua_redis.lua'].globals = { 'rspamadm_ev_base', |