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