X-Git-Url: https://git.enpas.org/?a=blobdiff_plain;f=.luacheckrc;h=2fc05e7527ef1643f106d315b7a3ffc13e2d3275;hb=beb22299c52801aa2a2bed77146b0285438cc707;hp=bcce11552a84e912d3e8a75c6a75dada9d406195;hpb=a14deb1f4521c0dd3a1e062c521ba71c54bafc75;p=prosody.git diff --git a/.luacheckrc b/.luacheckrc index bcce1155..2fc05e75 100644 --- a/.luacheckrc +++ b/.luacheckrc @@ -1,5 +1,5 @@ cache = true -read_globals = { "prosody", "hosts" } +read_globals = { "prosody", "hosts", "import" } globals = { "_M" } allow_defined_top = true module = true @@ -10,3 +10,14 @@ ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" } files["plugins/"] = { ignore = { "122/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", + }; +}