.luacheckrc
changeset 8570 93695bb1f0e7
parent 8560 28f9b8a5d9cb
child 8571 37d98a5fbb77
--- a/.luacheckrc	Wed Mar 07 19:18:35 2018 +0100
+++ b/.luacheckrc	Wed Mar 07 19:19:56 2018 +0100
@@ -1,5 +1,4 @@
 cache = true
-read_globals = { "prosody", "hosts", "import" }
 globals = { "_M" }
 allow_defined_top = true
 module = true
@@ -9,9 +8,16 @@
 
 max_line_length = 150
 
+read_globals = {
+	"prosody",
+	"hosts",
+	"import",
+};
 files["core/"] = {
-	read_globals = { "prosody", "hosts" };
-	globals = { "prosody.hosts.?", "hosts.?" };
+	globals = {
+		"prosody.hosts.?",
+		"hosts.?",
+	};
 }
 files["util/"] = {
 	-- Ignore unwrapped license text