X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=.luacheckrc;fp=.luacheckrc;h=90d2e27398107aaf630f5c607ba262a815f8ebc2;hb=bca35c227886965fb03723280c0fc79bdadb5faa;hp=2fc05e7527ef1643f106d315b7a3ffc13e2d3275;hpb=274c1242b6a14f75e233d67d2fe2073cd29028f2;p=prosody.git diff --git a/.luacheckrc b/.luacheckrc index 2fc05e75..90d2e273 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -8,16 +8,18 @@ codes = true ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } files["plugins/"] = { - ignore = { "122/module" }; + globals = { "module" }; } files["tests/"] = { - ignore = { - "113/assert_equal", - "113/assert_table", - "113/assert_function", - "113/assert_string", - "113/assert_boolean", - "113/assert_is", - "113/assert_is_not", + read_globals = { + "testlib_new_env", + "assert_equal", + "assert_table", + "assert_function", + "assert_string", + "assert_boolean", + "assert_is", + "assert_is_not", + "runtest", }; }