aboutsummaryrefslogtreecommitdiffstats
path: root/.luacheckrc
blob: 2fc05e7527ef1643f106d315b7a3ffc13e2d3275 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
cache = true
read_globals = { "prosody", "hosts", "import" }
globals = { "_M" }
allow_defined_top = true
module = true
unused_secondaries = false
codes = true
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",
	};
}