luacheckrc: Ignore assert helper functions used in tests/*
[prosody.git] / .luacheckrc
1 cache = true
2 read_globals = { "prosody", "hosts", "import" }
3 globals = { "_M" }
4 allow_defined_top = true
5 module = true
6 unused_secondaries = false
7 codes = true
8 ignore = { "411/err", "421/err", "411/ok", "421/ok", "211/_ENV" }
9
10 files["plugins/"] = {
11         ignore = { "122/module" };
12 }
13 files["tests/"] = {
14         ignore = {
15                 "113/assert_equal",
16                 "113/assert_table",
17                 "113/assert_function",
18                 "113/assert_string",
19                 "113/assert_boolean",
20                 "113/assert_is",
21                 "113/assert_is_not",
22         };
23 }