diff --git a/.luacheckrc b/.luacheckrc index c2d45c1ac..ccb96e95c 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,5 +1,6 @@ std = 'ngx_lua+lua52' -- lua52 has table.pack -files["spec"] = {std = "+busted"} +busted = {std = "+busted"} +files["**/spec/**/*_spec.lua"] = busted globals = { 'ngx', 'unpack', 'rawlen' }