ingress-nginx-helm/.luacheckrc
2020-03-10 21:56:40 -04:00

10 lines
319 B
Lua

std = 'ngx_lua'
globals = {
'_TEST'
}
exclude_files = {'./rootfs/etc/nginx/lua/test/**/*.lua', './rootfs/etc/nginx/lua/plugins/**/test/**/*.lua'}
files["rootfs/etc/nginx/lua/lua_ingress.lua"] = {
ignore = { "122" },
-- TODO(elvinefendi) figure out why this does not work
--read_globals = {"math.randomseed"},
}