File

.luacheckrc @ 7648:d91ef1e6afc2

stanza_router: Make 'unhandled stanza' errors more informative
author Matthew Wild <mwild1@gmail.com>
date Wed, 31 Aug 2016 16:40:26 +0100
parent 7479:a82f88db12f7
child 7872:3105d35cc2c2
line wrap: on
line source

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/"] = {
	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",
	};
}