Merge 0.10->trunk
[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         globals = { "module" };
12 }
13 files["tests/"] = {
14         read_globals = {
15                 "testlib_new_env",
16                 "assert_equal",
17                 "assert_table",
18                 "assert_function",
19                 "assert_string",
20                 "assert_boolean",
21                 "assert_is",
22                 "assert_is_not",
23                 "runtest",
24         };
25 }