Diff

.luacheckrc @ 8678:b86f789ac9bd

luacheckrc: Allow top level variables in prosodyctl (eg CFG_*) [luacheck]
author Kim Alvefur <zash@zash.se>
date Fri, 23 Mar 2018 13:18:28 +0100
parent 8677:369cde73a4d2
child 8710:ed3dcbc5336f
line wrap: on
line diff
--- a/.luacheckrc	Fri Mar 23 13:16:14 2018 +0100
+++ b/.luacheckrc	Fri Mar 23 13:18:28 2018 +0100
@@ -16,6 +16,10 @@
 	allow_defined_top = true;
 	module = true;
 }
+files["prosodyctl"] = {
+	allow_defined_top = true;
+	module = true;
+};
 files["core/"] = {
 	globals = {
 		"prosody.hosts.?",